facebook / facebook/rocksdb

Get sequence of written batch?

Open
#10,419 0 comments 0 reactions 0 assignees View on GitHub
question up-for-grabs
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

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`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.