rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

Get sequence of written batch?

Open ronag opened this issue 1 year ago • 0 comments

Is it possible to get the sequence number of a written batch without having to round trip through GetUpdatesSince?

i.e. it would be nice if DB::Write(const WriteOptions& options, WriteBatch* updates) returned the sequence number which the batch is assigned.

This would make it possible to implement a continuous updates stream in user land without having to constantly poll GetUpdatesSince.

ronag avatar Jul 26 '22 06:07 ronag