Home
last modified time | relevance | path

Searched refs:BackupableDBOptions (Results 1 – 18 of 18) sorted by relevance

/rocksdb-6.9/java/src/test/java/org/rocksdb/
DBackupableDBOptionsTest.java218 try (final BackupableDBOptions opts = new BackupableDBOptions(null)) { in failBackupDirIsNull()
225 try (final BackupableDBOptions options = in failBackupDirIfDisposed()
233 try (final BackupableDBOptions options = in failSetShareTableFilesIfDisposed()
241 try (BackupableDBOptions options = in failShareTableFilesIfDisposed()
249 try (final BackupableDBOptions options = in failSetSyncIfDisposed()
257 try (final BackupableDBOptions options = in failSyncIfDisposed()
265 try (final BackupableDBOptions options = in failSetDestroyOldDataIfDisposed()
273 try (final BackupableDBOptions options = in failDestroyOldDataIfDisposed()
281 try (final BackupableDBOptions options = in failSetBackupLogFilesIfDisposed()
289 try (final BackupableDBOptions options = in failBackupLogFilesIfDisposed()
[all …]
DBackupEngineTest.java41 try(final BackupableDBOptions bopt = new BackupableDBOptions( in backupDb()
60 try(final BackupableDBOptions bopt = new BackupableDBOptions( in deleteBackup()
88 try(final BackupableDBOptions bopt = new BackupableDBOptions( in purgeOldBackups()
119 try (final BackupableDBOptions bopt = new BackupableDBOptions( in restoreLatestBackup()
169 try (final BackupableDBOptions bopt = new BackupableDBOptions( in restoreFromBackup()
218 try (final BackupableDBOptions bopt = in backupDbWithMetadata()
219 new BackupableDBOptions(backupFolder.getRoot().getAbsolutePath()); in backupDbWithMetadata()
/rocksdb-6.9/java/rocksjni/
Dbackupablejni.cc35 auto* bopt = new ROCKSDB_NAMESPACE::BackupableDBOptions(cpath); in Java_org_rocksdb_BackupableDBOptions_newBackupableDBOptions()
49 reinterpret_cast<ROCKSDB_NAMESPACE::BackupableDBOptions*>(jhandle); in Java_org_rocksdb_BackupableDBOptions_backupDir()
61 reinterpret_cast<ROCKSDB_NAMESPACE::BackupableDBOptions*>(jhandle); in Java_org_rocksdb_BackupableDBOptions_setBackupEnv()
77 reinterpret_cast<ROCKSDB_NAMESPACE::BackupableDBOptions*>(jhandle); in Java_org_rocksdb_BackupableDBOptions_setShareTableFiles()
90 reinterpret_cast<ROCKSDB_NAMESPACE::BackupableDBOptions*>(jhandle); in Java_org_rocksdb_BackupableDBOptions_shareTableFiles()
104 reinterpret_cast<ROCKSDB_NAMESPACE::BackupableDBOptions*>(jhandle); in Java_org_rocksdb_BackupableDBOptions_setInfoLog()
121 reinterpret_cast<ROCKSDB_NAMESPACE::BackupableDBOptions*>(jhandle); in Java_org_rocksdb_BackupableDBOptions_setSync()
134 reinterpret_cast<ROCKSDB_NAMESPACE::BackupableDBOptions*>(jhandle); in Java_org_rocksdb_BackupableDBOptions_sync()
148 reinterpret_cast<ROCKSDB_NAMESPACE::BackupableDBOptions*>(jhandle); in Java_org_rocksdb_BackupableDBOptions_setDestroyOldData()
161 reinterpret_cast<ROCKSDB_NAMESPACE::BackupableDBOptions*>(jhandle); in Java_org_rocksdb_BackupableDBOptions_destroyOldData()
[all …]
Dbackupenginejni.cc26 reinterpret_cast<ROCKSDB_NAMESPACE::BackupableDBOptions*>( in Java_org_rocksdb_BackupEngine_open()
Dportal.h3384 : public RocksDBNativeClass<ROCKSDB_NAMESPACE::BackupableDBOptions*,
/rocksdb-6.9/java/src/main/java/org/rocksdb/
DBackupableDBOptions.java19 public class BackupableDBOptions extends RocksObject { class
33 public BackupableDBOptions(final String path) { in BackupableDBOptions() method in BackupableDBOptions
69 public BackupableDBOptions setBackupEnv(final Env env) { in setBackupEnv()
127 public BackupableDBOptions setInfoLog(final Logger logger) { in setInfoLog()
157 public BackupableDBOptions setSync(final boolean sync) { in setSync()
183 public BackupableDBOptions setDestroyOldData(final boolean destroyOldData) { in setDestroyOldData()
236 public BackupableDBOptions setBackupRateLimit(long backupRateLimit) { in setBackupRateLimit()
294 public BackupableDBOptions setRestoreRateLimit(long restoreRateLimit) { in setRestoreRateLimit()
358 public BackupableDBOptions setShareFilesWithChecksum( in setShareFilesWithChecksum()
386 public BackupableDBOptions setMaxBackgroundOperations( in setMaxBackgroundOperations()
[all …]
DBackupEngine.java36 final BackupableDBOptions options) throws RocksDBException { in open()
/rocksdb-6.9/include/rocksdb/utilities/
Dbackupable_db.h27 struct BackupableDBOptions { struct
121 explicit BackupableDBOptions( argument
230 static Status Open(const BackupableDBOptions& options, Env* db_env,
233 static Status Open(Env* db_env, const BackupableDBOptions& options, in Open()
295 static Status Open(const BackupableDBOptions& options, Env* db_env,
299 static Status Open(Env* db_env, const BackupableDBOptions& options, in Open()
/rocksdb-6.9/docs/_posts/
D2014-03-27-how-to-backup-rocksdb.markdown20 BackupableDB* backupable_db = new BackupableDB(db, BackupableDBOptions("/tmp/rocksdb_backup"));
34 …RestoreBackupableDB* restore = new RestoreBackupableDB(Env::Default(), BackupableDBOptions("/tmp/r…
54 …BackupEngine* backup_engine = BackupEngine::NewBackupEngine(Env::Default(), BackupableDBOptions("/…
66 …BackupEngine* backup_engine = BackupEngine::NewBackupEngine(Env::Default(), BackupableDBOptions("/…
84 Let's say you want to backup your DB to HDFS. There is an option in `BackupableDBOptions` to set `b…
86 `BackupableDBOptions::info_log` is a Logger object that is used to print out LOG messages if not-nu…
88 If `BackupableDBOptions::sync` is true, we will sync data to disk after every file write, guarantee…
90 If you set `BackupableDBOptions::destroy_old_data` to true, creating new `BackupableDB` will delete…
D2014-03-27-how-to-persist-in-memory-rocksdb-database.markdown23 …nce they are already stored in persistent storage. To do that, set BackupableDBOptions::backup_log…
44 * Backup RocksDB every T/2 seconds, with BackupableDBOptions::backup_log_files = false
/rocksdb-6.9/utilities/backupable/
Dbackupable_db.cc67 void BackupableDBOptions::Dump(Logger* logger) const { in Dump()
91 BackupEngineImpl(const BackupableDBOptions& options, Env* db_env,
508 BackupableDBOptions options_;
525 Status BackupEngine::Open(const BackupableDBOptions& options, Env* env, in Open()
538 BackupEngineImpl::BackupEngineImpl(const BackupableDBOptions& options, in BackupEngineImpl()
1957 BackupEngineReadOnlyImpl(const BackupableDBOptions& options, Env* db_env) in BackupEngineReadOnlyImpl()
1997 Status BackupEngineReadOnly::Open(const BackupableDBOptions& options, Env* env, in Open()
Dbackupable_db_test.cc558 backupable_options_.reset(new BackupableDBOptions( in BackupableDBTest()
684 std::unique_ptr<BackupableDBOptions> backupable_options_;
/rocksdb-6.9/java/
DCMakeLists.txt100 src/main/java/org/rocksdb/BackupableDBOptions.java
392 org.rocksdb.BackupableDBOptions
DMakefile11 org.rocksdb.BackupableDBOptions\
/rocksdb-6.9/tools/
Dldb_cmd.cc3006 BackupableDBOptions backup_options = in DoCommand()
3007 BackupableDBOptions(backup_dir_, custom_env); in DoCommand()
3046 BackupableDBOptions opts(backup_dir_, custom_env); in DoCommand()
/rocksdb-6.9/db/
Dc.cc49 using ROCKSDB_NAMESPACE::BackupableDBOptions;
540 BackupableDBOptions(path, in rocksdb_backup_engine_open()
/rocksdb-6.9/db_stress_tool/
Ddb_stress_test_base.cc1190 BackupableDBOptions backup_opts(backup_dir); in TestBackupRestore()
/rocksdb-6.9/
DHISTORY.md128 * The option BackupableDBOptions::max_valid_backups_to_open is now only used when opening BackupEng…
473 * Fix `BackupableDBOptions::max_valid_backups_to_open` to not delete backup files when refcount can…
554 * `BackupableDBOptions::max_valid_backups_to_open == 0` now means no backups will be opened during …