Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 49) sorted by relevance

12

/rocksdb-6.9/build_tools/
Dregression_build_test.sh77 --sync=0 \
95 --sync=0 \
113 --sync=0 \
132 --sync=0 \
150 --sync=0 \
170 --sync=0 \
189 --sync=0 \
207 --sync=0 \
226 --sync=0 \
246 --sync=0 \
[all …]
/rocksdb-6.9/java/src/main/java/org/rocksdb/
DBackupableDBOptions.java157 public BackupableDBOptions setSync(final boolean sync) { in setSync() argument
159 setSync(nativeHandle_, sync); in setSync()
168 public boolean sync() { in sync() method in BackupableDBOptions
170 return sync(nativeHandle_); in sync()
444 private native boolean sync(long handle); in sync() method in BackupableDBOptions
DWriteOptions.java87 public boolean sync() { in sync() method in WriteOptions
88 return sync(nativeHandle_); in sync()
208 private native boolean sync(long handle); in sync() method in WriteOptions
/rocksdb-6.9/java/src/test/java/org/rocksdb/
DWriteOptionsTest.java29 assertThat(writeOptions.sync()).isTrue(); in writeOptions()
31 assertThat(writeOptions.sync()).isFalse(); in writeOptions()
66 assertThat(origOpts.sync()).isEqualTo(copyOpts.sync()); in copyConstructor()
DBackupableDBOptionsTest.java89 public void sync() { in sync() method in BackupableDBOptionsTest
94 assertThat(backupableDBOptions.sync()).isEqualTo(value); in sync()
259 options.sync(); in failSyncIfDisposed()
/rocksdb-6.9/tools/
Drun_flash_bench.sh287 echo overwrite sync=0 >> $output_dir/report2.txt
292 echo overwrite sync=1 >> $output_dir/report2.txt
297 echo updaterandom sync=0 >> $output_dir/report2.txt
302 echo updaterandom sync=1 >> $output_dir/report2.txt
307 echo mergerandom sync=0 >> $output_dir/report2.txt
312 echo mergerandom sync=1 >> $output_dir/report2.txt
Drun_leveldb.sh162 echo overwrite sync=0 >> $output_dir/report2.txt
165 echo overwrite sync=1 >> $output_dir/report2.txt
Dwrite_stress.cc178 woptions.sync = dist(rng) < FLAGS_sync_probability; in WriteThread()
/rocksdb-6.9/db/
Dwrite_thread.h117 bool sync; member
140 sync(false), in Writer()
161 sync(write_options.sync), in batch()
Dfault_injection_test.cc308 write_options.sync = sync_use_wal_; in PartialCompactTestPreFault()
314 write_options.sync = false; in PartialCompactTestPreFault()
400 write_options.sync = false; in TEST_P()
408 write_options.sync = true; in TEST_P()
486 write_options.sync = false; in TEST_P()
520 wo.sync = true; in TEST_P()
Derror_handler_fs_test.cc732 wopts.sync = true; in TEST_F()
754 wopts.sync = true; in TEST_F()
808 wopts.sync = true; in TEST_F()
831 wopts.sync = true; in TEST_F()
859 wopts.sync = true; in TEST_F()
901 wopts.sync = true; in TEST_F()
924 wopts.sync = true; in TEST_F()
1004 wopts.sync = true; in TEST_F()
1019 wopts.sync = true; in TEST_F()
1117 wopts.sync = true; in TEST_F()
[all …]
Dobsolete_files_test.cc44 options.sync = false; in AddKeys()
Dwrite_thread.cc443 if (w->sync && !leader->sync) { in EnterAsBatchGroupLeader()
/rocksdb-6.9/docs/_posts/
D2015-11-16-analysis-file-read-latency-by-level.markdown234sync=0; r=1000000000; t=1; vs=20; bs=4096; cs=1048576; of=500000; si=1000000; ./db_bench –benchmar…
237sync=0; r=1000000000; t=32; vs=20; bs=4096; cs=1048576; of=500000; si=1000000; ./db_bench –benchma…
D2017-08-25-flushwal.markdown16 …or `DB::Write`. The user can additionally request sync after each write by setting `WriteOptions::
20 …ed by the user. The API also accepts a boolean argument should we want to sync right after the flu…
D2014-03-27-how-to-backup-rocksdb.markdown88 If `BackupableDBOptions::sync` is true, we will sync data to disk after every file write, guarantee…
/rocksdb-6.9/utilities/backupable/
Dbackupable_db.cc75 static_cast<int>(sync)); in Dump()
220 Status StoreToFile(bool sync);
317 bool sync, RateLimiter* rate_limiter,
343 bool sync; member
356 sync(false), in CopyOrCreateWorkItem()
374 sync = o.sync; in operator =()
393 sync(_sync),
943 s = new_backup->StoreToFile(options_.sync); in CreateNewBackupWithMetadata()
945 if (s.ok() && options_.sync) { in CreateNewBackupWithMetadata()
1377 if (s.ok() && sync) { in CopyOrCreateFile()
[all …]
/rocksdb-6.9/tools/advisor/advisor/
Drules.ini118 suggestions=bytes-per-sync-non0:wal-bytes-per-sync-non0:set-rate-limiter
141 [Suggestion "bytes-per-sync-non0"]
146 [Suggestion "wal-bytes-per-sync-non0"]
/rocksdb-6.9/java/rocksjni/
Dbackupablejni.cc122 bopt->sync = flag; in Java_org_rocksdb_BackupableDBOptions_setSync()
135 return bopt->sync; in Java_org_rocksdb_BackupableDBOptions_sync()
/rocksdb-6.9/include/rocksdb/utilities/
Dbackupable_db.h58 bool sync; member
133 sync(_sync), in backup_dir()
Dstackable_db.h329 virtual Status FlushWAL(bool sync) override { return db_->FlushWAL(sync); } in FlushWAL() argument
/rocksdb-6.9/tools/advisor/test/input_files/
Dlog_stats_parser_keys_ts3 rocksdb.manifest.file.sync.micros.p99: 1530896335 649.0, 1530896361 835.0, 1530896387 1435.0, 15308…
/rocksdb-6.9/include/rocksdb/
Doptions.h1366 bool sync; member
1417 : sync(false), in WriteOptions()
/rocksdb-6.9/utilities/transactions/
Dtransaction_test.cc87 write_options.sync = true; in TEST_P()
1287 write_options.sync = true; in TEST_P()
1507 write_options.sync = true; in TEST_P()
1572 write_options.sync = true; in TEST_P()
1618 write_options.sync = true; in TEST_P()
1703 wopts.sync = true; in TEST_P()
1853 wopts.sync = true; in TEST_P()
1987 wal_on.sync = true; in TEST_P()
2078 write_options.sync = true; in TEST_P()
2086 write_options.sync = false; in TEST_P()
[all …]
/rocksdb-6.9/db/db_impl/
Ddb_impl_write.cc82 if (write_options.sync && write_options.disableWAL) { in WriteImpl()
222 bool need_log_sync = write_options.sync; in WriteImpl()
478 bool need_log_sync = !write_options.disableWAL && write_options.sync; in PipelinedWriteImpl()
780 if (status.ok() && write_options.sync) { in WriteImplWALOnly()

12