Commit Graph

77 Commits (e03d958b9166de6f29288f2ed854722b36cd3e0e)

Author SHA1 Message Date
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) 4 years ago
Baptiste Lemaire 714ce5041d Fix clang_analyzer failure (#8492) 4 years ago
Baptiste Lemaire 9dc887ece0 Memtable "MemPurge" prototype (#8454) 4 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
mrambacher db03172d08 Change ErrorHandler methods to return const Status& (#7539) 4 years ago
Yanqin Jin e062a719cc Fix assertion failure in bg flush (#7362) 4 years ago
Cheng Chang 1e40696dd1 Track WAL in MANIFEST: LogAndApply WAL events to MANIFEST (#7601) 4 years ago
Zhichao Cao 861e544335 Add db_flush_test to ASSERT_STATUS_CHECKED list (#7476) 4 years ago
Yanqin Jin 002b30c967 Fix clang analyzer (#7518) 4 years ago
Jay Zhuang 53089038de Fix StallWrite crash with mixed of slowdown/no_slowdown writes (#7508) 4 years ago
Yanqin Jin 758ead5df7 Enforce status check for corruption_test (#7453) 4 years ago
Zhichao Cao b7062f0b2c Status check enforcement for error_handler_fs_test (#7342) 4 years ago
Akanksha Mahajan 7cd760dfdf Add status check enforcement for column_family_test.cc (#7484) 4 years ago
Zhichao Cao 685cabdafa Add trace_analyzer_test to ASSERT_STATUS_CHECKED list (#7480) 4 years ago
sdong d08a9005b7 Make db_basic_test pass assert status checked (#7452) 4 years ago
mrambacher a08d6f18f0 Add more tests to ASSERT_STATUS_CHECKED (#7367) 4 years ago
anand76 18a3227b12 Add a new IOStatus subcode to indicate that writes are fenced off (#7374) 4 years ago