Commit Graph

132 Commits (f81ea75df75d9bfed572426f8fbd255e378d1651)

Author SHA1 Message Date
Yanqin Jin 9586dcf1ce Expose the initial logger creation error (#10223) 2 years ago
Yanqin Jin d654888b8f Refactor wal filter processing during recovery (#10214) 2 years ago
Andrew Kryczka 5d6005c780 Add WriteOptions::protection_bytes_per_key (#10037) 2 years ago
Peter Dillinger 3d358a7e25 Fix handling of accidental truncation of IDENTITY file (#10173) 2 years ago
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) 2 years ago
Akanksha Mahajan 6442a62e46 Update WAL corruption test so that it fails without fix (#9942) 2 years ago
sdong 736a7b5433 Remove own ToString() (#9955) 2 years ago
Anvesh Komuravelli aafb377bb5 Update protection info on recovered logs data (#9875) 2 years ago
Andrew Kryczka c5d367f472 Revert open logic changes in #9634 (#9906) 2 years ago
Yanqin Jin 0bd4dcde6b CompactionIterator sees consistent view of which keys are committed (#9830) 2 years ago
Akanksha Mahajan ae82d91492 Remove corrupted WAL files in kPointRecoveryMode with avoid_flush_duing_recovery set true (#9634) 2 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) 3 years ago
Peter Dillinger 85becd94c1 Refactor: use TableBuilderOptions to reduce parameter lists (#8240) 3 years ago
Zhichao Cao 09a9ec3ac0 Fix the false positive alert of CF consistency check in WAL recovery (#8207) 3 years ago
Yanqin Jin a376c22066 Handle rename() failure in non-local FS (#8192) 3 years ago
Yanqin Jin b1f62be10e Use the right level (L0) for files written during WAL recovery (#8187) 3 years ago
Peter Dillinger 879357fdb0 Make backups openable as read-only DBs (#8142) 4 years ago