Commit Graph

128 Commits (94329ae4ecfcf6a83cef3f06ba07eae191d2507b)

Author SHA1 Message Date
Jay Zhuang 5864900cf4 Get current LogFileNumberSize the same as log_writer (#10086) 2 years ago
Akanksha Mahajan d04df2752a Persist the new MANIFEST after successfully syncing the new WAL during recovery (#9922) 2 years ago
Yanqin Jin 7c8c803938 Remove unused variable `single_column_family_mode_` (#10078) 2 years ago
Yanqin Jin 514f0b0937 Fail DB::Open() if logger cannot be created (#9984) 2 years ago
Gang Liao e228515740 Pass the size of blob files to SstFileManager during DB open (#10062) 2 years ago
Jay Zhuang c6d326d3d7 Track SST unique id in MANIFEST and verify (#9990) 3 years ago
Akanksha Mahajan 6442a62e46 Update WAL corruption test so that it fails without fix (#9942) 3 years ago
sdong 736a7b5433 Remove own ToString() (#9955) 3 years ago
Anvesh Komuravelli aafb377bb5 Update protection info on recovered logs data (#9875) 3 years ago
Andrew Kryczka c5d367f472 Revert open logic changes in #9634 (#9906) 3 years ago
Yanqin Jin 0bd4dcde6b CompactionIterator sees consistent view of which keys are committed (#9830) 3 years ago
Akanksha Mahajan ae82d91492 Remove corrupted WAL files in kPointRecoveryMode with avoid_flush_duing_recovery set true (#9634) 3 years ago
sdong bbcf7b192c Fix DB::Open() error logging (#9784) 3 years ago
Yanqin Jin e0c84aa0dc Fix a race condition in WAL tracking causing DB open failure (#9715) 3 years ago
Yanqin Jin bbdaf63d0f Fix a TSAN-reported bug caused by concurrent accesss to std::deque (#9686) 3 years ago
Jay Zhuang 09b0e8f2c7 Fix a timer crash caused by invalid memory management (#9656) 3 years ago
slk 95305c44a1 Add OpenAndTrimHistory API to support trimming data with specified timestamp (#9410) 3 years ago
Hui Xiao ca0ef54f16 Rate-limit automatic WAL flush after each user write (#9607) 3 years ago
Siddhartha Roychowdhury 39b0d92153 Add record to set WAL compression type if enabled (#9556) 3 years ago
Yanqin Jin 1cda273dc3 Fix a silent data loss for write-committed txn (#9571) 3 years ago
Akanksha Mahajan 9745c68eb1 Remove deprecated option new_table_reader_for_compaction_inputs (#9443) 3 years ago
Yanqin Jin d10c5c08d3 Remove iter_start_seqnum and preserve_deletes (#9430) 3 years ago
Yanqin Jin dd203ed604 Disallow a combination of options (#9348) 3 years ago
Siddhartha Roychowdhury c27ca23644 Add option for WAL compression algorithm (#9432) 3 years ago
sdong 88875df821 File temperature information should be preserved when restart the DB (#9242) 3 years ago
Jay Zhuang 6cde8d2190 Deprecating `iter_start_seqnum` and `preserve_deletes` (#9091) 3 years ago
slk 937fbcbddc Track per-SST user-defined timestamp information in MANIFEST (#9092) 3 years ago
Jay Zhuang 29102641dd Skip directory fsync for filesystem btrfs (#8903) 3 years ago
Peter Dillinger 3ffb3baa0b Add (Live)FileStorageInfo API (#8968) 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
Adam Retter 5de333fd99 Add db_test2 to to ASSERT_STATUS_CHECKED (#8640) 3 years ago
mrambacher ab7f7c9e49 Allow WAL dir to change with db dir (#8582) 3 years ago
Baptiste Lemaire c521a9ab2b Retire superfluous functions introduced in earlier mempurge PRs. (#8558) 3 years ago
Yanqin Jin 2e5388178f Return error if trying to open secondary on missing or inaccessible primary (#8200) 3 years ago
Baptiste Lemaire 206845c057 Mempurge support for wal (#8528) 3 years ago
Zhichao Cao a904c62d28 Using existing crc32c checksum in checksum handoff for Manifest and WAL (#8412) 3 years ago
anand76 575ea26ec9 Don't log a warning if file system doesn't support ReopenWritableFile() (#8414) 3 years ago
Zhichao Cao f44e69c64a Use DbSessionId as cache key prefix when secondary cache is enabled (#8360) 3 years ago
Peter (Stig) Edwards c75ef03e58 Do not truncate WAL if in read_only mode (#8313) 3 years ago
Peter Dillinger d2ca04e3ed Add more LSM info to FilterBuildingContext (#8246) 4 years ago
Peter Dillinger 85becd94c1 Refactor: use TableBuilderOptions to reduce parameter lists (#8240) 4 years ago
Zhichao Cao 09a9ec3ac0 Fix the false positive alert of CF consistency check in WAL recovery (#8207) 4 years ago
Yanqin Jin a376c22066 Handle rename() failure in non-local FS (#8192) 4 years ago
Yanqin Jin b1f62be10e Use the right level (L0) for files written during WAL recovery (#8187) 4 years ago
Peter Dillinger 879357fdb0 Make backups openable as read-only DBs (#8142) 4 years ago
anand76 7d7f14480e Always truncate the latest WAL file on DB Open (#8122) 4 years ago
Andrew Kryczka c20a7cd6c7 Apply `sample_for_compression` to all block-based tables (#8105) 4 years ago
Akanksha Mahajan 27d57a035e Use SST file manager to track blob files as well (#8037) 4 years ago
mrambacher 3dff28cf9b Use SystemClock* instead of std::shared_ptr<SystemClock> in lower level routines (#8033) 4 years ago