rocksdb
rocksdb copied to clipboard
Prototype invoking a post wal write callback in pipelined write mode
This is a prototype PR. Although it's not planned to be checked in, it would be good to have some reviewing feedback before we send it to Hammerspace for integration and testing.
How does the user specify the callback? In
WriteOptions
perhaps?
Yeah, that's a good question. WriteOptions
would work, another idea is maybe we can make WriteWithCallback
a public API too?
How does the user specify the callback? In
WriteOptions
perhaps?Yeah, that's a good question.
WriteOptions
would work, another idea is maybe we can makeWriteWithCallback
a public API too?
Yeah, WriteWithCallback
should be fine too. We should have an overload that doesn't take WriteCallback
as that seems specific to transaction DB, and maybe name PostWalWriteCallback
to something more generic.
LGTM! Thanks for the PR and quick turnaround
Thank you for the quick review!
@jowlyzhang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@jowlyzhang merged this pull request in facebook/rocksdb@fc59d8f9c6a8d8b4ff506708f1e78d3b3b54686b.