Open mzygQAQ opened 2 months ago
@Connor1996 @tabokie @Little-Wallace
method MultiBatchWriteImpl is not in official facebook/rocksdb, maybe this is a special function used for tikv only?
PTAL @v01dstar
@Connor1996 @tabokie @Little-Wallace
method MultiBatchWriteImpl is not in official facebook/rocksdb, maybe this is a special function used for tikv only?
That's correct. MultiBatchWrite
is an optimization made by PingCAP in tikv's RocksDB fork. https://github.com/tikv/rocksdb/pull/387
Expected behavior
works well
Actual behavior
crash in debug profile
Steps to reproduce the behavior
WaitForPendingWrites requires mutex_.AssertHeld() but not, this only occurs in titan' gc job who will set AllowWriteBatching=false