Commit Graph

90 Commits (f79b3d19a77f649536da6321f40e1c0d269bde48)

Author SHA1 Message Date
Hui Xiao e484b81eee Sync dir containing CURRENT after RenameFile on CURRENT as much as possible (#10573) 2 years ago
Andrew Kryczka 91166012c8 Prevent a case of WriteBufferManager flush thrashing (#6364) 2 years ago
sdong 911c0208b9 WritableFileWriter tries to skip operations after failure (#10489) 2 years ago
Changyu Bi 9d77bf8f7b Fragment memtable range tombstone in the write path (#10380) 2 years ago
Wallace 1e9bf25f61 Do not hold mutex when write keys if not necessary (#7516) 2 years ago
Levi Tamasi c73d2a9d18 Add API for writing wide-column entities (#10242) 2 years ago
Andrew Kryczka d5d8920f2c Fix race condition with WAL tracking and `FlushWAL(true /* sync */)` (#10185) 2 years ago
Andrew Kryczka 5d6005c780 Add WriteOptions::protection_bytes_per_key (#10037) 2 years ago
Changyu Bi 9882652b0e Verify write batch checksum before WAL (#10114) 2 years ago
Yanqin Jin 1777e5f7e9 Snapshots with user-specified timestamps (#9879) 2 years ago
Yu Zhang a101c9de60 Return "invalid argument" when read timestamp is too old (#10109) 2 years ago
Jay Zhuang 5864900cf4 Get current LogFileNumberSize the same as log_writer (#10086) 2 years ago
Yanqin Jin 7c8c803938 Remove unused variable `single_column_family_mode_` (#10078) 2 years ago
Yanqin Jin de9df6e818 Do not release and re-acquire dbmutex on memtable-switch if no listener (#9758) 3 years ago
Yanqin Jin 29bec740f5 Return invalid argument if batch is null (#9744) 3 years ago
Yanqin Jin b2aacaf923 Fix assertion error by doing comparison with mutex (#9717) 3 years ago
Yanqin Jin 6a76008369 Fix TSAN caused by calling `rend()` and `pop_front()`. (#9698) 3 years ago
Yanqin Jin bbdaf63d0f Fix a TSAN-reported bug caused by concurrent accesss to std::deque (#9686) 3 years ago
Yanqin Jin 3b6dc049f7 Support user-defined timestamps in write-committed txns (#9629) 3 years ago
Hui Xiao ca0ef54f16 Rate-limit automatic WAL flush after each user write (#9607) 3 years ago
Yanqin Jin 3122cb4358 Revise APIs related to user-defined timestamp (#8946) 3 years ago
Andrew Kryczka aa2b3bf675 Added `TraceOptions::preserve_write_order` (#9334) 3 years ago
mrambacher 423538a816 Make MemoryAllocator into a Customizable class (#8980) 3 years ago
lgqss 77c7085594 MemTableList::TrimHistory now use allocated bytes (#9020) 3 years ago
Jay Zhuang 29102641dd Skip directory fsync for filesystem btrfs (#8903) 3 years ago
leipeng 2b70224f82 remove bad extra RecordTick(stats_, WRITE_WITH_WAL) (#9064) 3 years ago
leipeng 0a73ada7b5 remove unused local obj and simpilify comple code (#9052) 3 years ago
leipeng 0c53b41856 db_impl_write.cc: use stats_ instead of immutable_db_options_.stats (#9053) 3 years ago
mrambacher 13ae16c315 Cleanup includes in dbformat.h (#8930) 3 years ago
Akanksha Mahajan 78afb4d81e Support SingleDelete for user-defined timestamps (#8921) 3 years ago
eharry 0b6be7eb68 Fix WAL log data corruption #8723 (#8746) 3 years ago
Yanqin Jin 2a2b3e03a5 Allow WriteBatch to have keys with different timestamp sizes (#8725) 3 years ago
Yanqin Jin 066b51126d Several simple local code clean-ups (#8565) 3 years ago
Baptiste Lemaire c521a9ab2b Retire superfluous functions introduced in earlier mempurge PRs. (#8558) 3 years ago
sdong 9e885939a3 Change to code for trimmed memtable history is to released outside DB mutex (#8530) 3 years ago
Baptiste Lemaire 206845c057 Mempurge support for wal (#8528) 3 years ago
anand76 d1b70b05a6 Avoid passing existing BG error to WriteStatusCheck (#8511) 3 years ago
Baptiste Lemaire 837705ad80 Make mempurge a background process (equivalent to in-memory compaction). (#8505) 3 years ago
Baptiste Lemaire 714ce5041d Fix clang_analyzer failure (#8492) 3 years ago
Baptiste Lemaire 9dc887ece0 Memtable "MemPurge" prototype (#8454) 3 years ago
mrambacher 8948dc8524 Make ImmutableOptions struct that inherits from ImmutableCFOptions and ImmutableDBOptions (#8262) 4 years ago
Akanksha Mahajan 596e9008e4 Stall writes in WriteBufferManager when memory_usage exceeds buffer_size (#7898) 4 years ago
Giuseppe Ottaviano 48cd7a3aae Fix flush reason attribution (#8150) 4 years ago
Peter Dillinger e7a60d01b2 Revamp WriteController (#8064) 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
Adam Retter 81592d9ffa Add more tests to ASSERT_STATUS_CHECKED (4) (#7718) 4 years ago
Cheng Chang fbce7a3808 Track WAL obsoletion when updating empty CF's log number (#7781) 4 years ago
Adam Retter 8ff6557e7f Add further tests to ASSERT_STATUS_CHECKED (2) (#7698) 4 years ago