Commit Graph

55 Commits (671753c43d063c0430c68af1db303499a8af732b)

Author SHA1 Message Date
akankshamahajan ae0f9c3339 Add new property in IOOptions to skip recursing through directories and list only files during GetChildren. (#10668) 2 years ago
Wallace 1e9bf25f61 Do not hold mutex when write keys if not necessary (#7516) 2 years ago
Yanqin Jin 725df120e9 Fix race condition between file purge and backup/checkpoint (#10187) 2 years ago
Andrew Kryczka d5d8920f2c Fix race condition with WAL tracking and `FlushWAL(true /* sync */)` (#10185) 2 years ago
Peter Dillinger 3d358a7e25 Fix handling of accidental truncation of IDENTITY file (#10173) 2 years ago
Akanksha Mahajan d04df2752a Persist the new MANIFEST after successfully syncing the new WAL during recovery (#9922) 2 years ago
sdong 356f8c5d81 FindObsoleteFiles() to directly check whether candidate files are live (#10040) 3 years ago
sdong 49628c9a83 Use std::numeric_limits<> (#9954) 3 years ago
Andrew Kryczka c5d367f472 Revert open logic changes in #9634 (#9906) 3 years ago
Akanksha Mahajan ae82d91492 Remove corrupted WAL files in kPointRecoveryMode with avoid_flush_duing_recovery set true (#9634) 3 years ago
Yanqin Jin e0c84aa0dc Fix a race condition in WAL tracking causing DB open failure (#9715) 3 years ago
Yanqin Jin 1cda273dc3 Fix a silent data loss for write-committed txn (#9571) 3 years ago
Peter Dillinger 2a67d475f1 Fix bug affecting GetSortedWalFiles, Backups, Checkpoint (#9208) 3 years ago
Jay Zhuang 29102641dd Skip directory fsync for filesystem btrfs (#8903) 3 years ago
anand76 532ff334d9 Don't ignore deletion rate limit if WAL dir is different (#8967) 3 years ago
mrambacher 13ae16c315 Cleanup includes in dbformat.h (#8930) 3 years ago
Akanksha Mahajan d6aa8c49f8 Expose blob file information through the EventListener interface (#8675) 3 years ago
Peter Dillinger c9cd5d25a8 Remove some unneeded code (#8736) 3 years ago
Levi Tamasi 9b25d26dc8 Attempt to deflake ObsoleteFilesTest.DeleteObsoleteOptionsFile (#8624) 3 years ago
mrambacher ab7f7c9e49 Allow WAL dir to change with db dir (#8582) 3 years ago
sdong e8f218cb68 DB::GetSortedWalFiles() to ensure file deletion is disabled (#8591) 3 years ago
mrambacher 01e460d538 Make types of Immutable/Mutable Options fields match that of the underlying Option (#8176) 4 years ago
Yanqin Jin a376c22066 Handle rename() failure in non-local FS (#8192) 4 years ago
Peter Dillinger a4e82a3cca Fix read-only DB writing to filesystem with write_dbid_to_manifest (#8164) 4 years ago
Peter Dillinger 879357fdb0 Make backups openable as read-only DBs (#8142) 4 years ago
mrambacher 3dff28cf9b Use SystemClock* instead of std::shared_ptr<SystemClock> in lower level routines (#8033) 4 years ago
mrambacher 12f1137355 Add a SystemClock class to capture the time functions of an Env (#7858) 4 years ago
mrambacher 02418194d7 Add more tests for assert status checked (#7524) 4 years ago
Cheng Chang 70f2e0916a Write min_log_number_to_keep to MANIFEST during atomic flush under 2 phase commit (#7570) 4 years ago
Cheng Chang 8c93b16f02 Track WAL in MANIFEST: Update logic for computing min_log_number_to_keep in atomic flush (#7660) 4 years ago
Cheng Chang 5e794b0841 Fix a recovery corner case (#7621) 4 years ago
Cheng Chang 1e40696dd1 Track WAL in MANIFEST: LogAndApply WAL events to MANIFEST (#7601) 4 years ago
Zhichao Cao d8ec0a760a Make FileType Public and Replace kLogFile with kWalFile (#7580) 4 years ago
Yanqin Jin 07dc955a1f Report error of GetChildren (#7459) 4 years ago
sdong d08a9005b7 Make db_basic_test pass assert status checked (#7452) 4 years ago
Peter Dillinger c8a12aa94b EnableFileDeletions only read field while holding mutex (#7435) 4 years ago
mrambacher e9befdebbf Add EnvTestWithParam::OptionsTest to the ASSERT_STATUS_CHECKED passes (#7283) 4 years ago
mrambacher d9d190742c Make env*_test work with ASSERT_STATUS_CHECKED (#7176) 4 years ago
Yanqin Jin e66199d848 First step towards handling MANIFEST write error (#6949) 4 years ago
Yanqin Jin e72e2167fd Fix a few bugs in best-efforts recovery (#6824) 5 years ago
Levi Tamasi ac3ae1df0b Find/purge obsolete blob files (#6807) 5 years ago
Levi Tamasi a00ddf1574 Expose the set of live blob files from Version/VersionSet (#6785) 5 years ago
Levi Tamasi fe238e5438 Keep track of obsolete blob files in VersionSet (#6755) 5 years ago
Yanqin Jin e04f3bce4f Update CURRENT file after best-efforts recovery (#6746) 5 years ago
Yanqin Jin fb09ef05dc Attempt to recover from db with missing table files (#6334) 5 years ago
sdong fdf882ded2 Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 5 years ago
Levi Tamasi 752c87af78 Clean up VersionEdit a bit (#6383) 5 years ago
Yanqin Jin fe1147db1c Let DBSecondary close files after catch up (#6114) 5 years ago
Yanqin Jin 6d072f2a03 Move WAL-closing loop out of original loop (#5804) 5 years ago
Yi Wu a68d814570 fast look up purge_queue (#5796) 5 years ago