Commit Graph

101 Commits (f9db0c6e9c801a1f3357780fd32ece7b6de21f53)

Author SHA1 Message Date
Hui Xiao cb58477185 New stat rocksdb.{cf|db}-write-stall-stats exposed in a structural way (#11300) 2 years ago
Hui Xiao 11cb6af6e5 Fix bug of prematurely excluded CF in atomic flush contains unflushed data that should've been included in the atomic flush (#11148) 2 years ago
Peter Dillinger 390cc0b156 Ensure LockWAL() stall cleared for UnlockWAL() return (#11172) 2 years ago
sdong 4720ba4391 Remove RocksDB LITE (#11147) 2 years ago
Peter Dillinger 546e213c4f Fix DelayWrite() calls for two_write_queues (#11130) 2 years ago
Hui Xiao 86fa2592be Fix data race on `ColumnFamilyData::flush_reason` by letting FlushRequest/Job owns flush_reason instead of CFD (#11111) 2 years ago
Yanqin Jin c93ba7db5d Revise LockWAL/UnlockWAL implementation (#11020) 2 years ago
Yanqin Jin 7d26e4c5a3 Basic Support for Merge with user-defined timestamp (#10819) 2 years ago
Qingping Wang a45e6878f3 fix issue 10751 (#10765) 2 years ago
Yanqin Jin edda219fc3 Manual flush with `wait=false` should not stall when writes stopped (#10001) 2 years ago
Changyu Bi 9f2363f4c4 User-defined timestamp support for `DeleteRange()` (#10661) 2 years ago
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) 3 years ago
Andrew Kryczka d5d8920f2c Fix race condition with WAL tracking and `FlushWAL(true /* sync */)` (#10185) 3 years ago
Andrew Kryczka 5d6005c780 Add WriteOptions::protection_bytes_per_key (#10037) 3 years ago
Changyu Bi 9882652b0e Verify write batch checksum before WAL (#10114) 3 years ago
Yanqin Jin 1777e5f7e9 Snapshots with user-specified timestamps (#9879) 3 years ago
Yu Zhang a101c9de60 Return "invalid argument" when read timestamp is too old (#10109) 3 years ago
Jay Zhuang 5864900cf4 Get current LogFileNumberSize the same as log_writer (#10086) 3 years ago
Yanqin Jin 7c8c803938 Remove unused variable `single_column_family_mode_` (#10078) 3 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) 4 years ago
anand76 d1b70b05a6 Avoid passing existing BG error to WriteStatusCheck (#8511) 4 years ago
Baptiste Lemaire 837705ad80 Make mempurge a background process (equivalent to in-memory compaction). (#8505) 4 years ago
Baptiste Lemaire 714ce5041d Fix clang_analyzer failure (#8492) 4 years ago