RocksWriteBatchVec is for method multi_batch_write of RocksDB, which splits a large WriteBatch
into many smaller ones and then any thread could help to deal with these small WriteBatch when it
is calling AwaitState and wait to become leader of WriteGroup. multi_batch_write will perform
much better than traditional pipelined_write when TiKV writes very large data into RocksDB. We
will remove this feature when unordered_write of RocksDB becomes more stable and becomes compatible
with Titan.
|