]>
git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/include/rocksdb/utilities/option_change_migration.h
1 // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
2 // This source code is licensed under the BSD-style license found in the
3 // LICENSE file in the root directory of this source tree. An additional grant
4 // of patent rights can be found in the PATENTS file in the same directory.
9 #include "rocksdb/options.h"
10 #include "rocksdb/status.h"
13 // Try to migrate DB created with old_opts to be use new_opts.
14 // Multiple column families is not supported.
15 // It is best-effort. No guarantee to succeed.
16 // A full compaction may be executed.
17 Status
OptionChangeMigration(std::string dbname
, const Options
& old_opts
,
18 const Options
& new_opts
);
19 } // namespace rocksdb