You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
add method to snapshot TBQueue without flushing #54
Currently there is no way to efficiently snapshot the state of TBQueue without flushing it and rewriting (and neither there is a way to efficiently create TBQueue from the list). What is required to do to a snapshot now:
The use case for snapshot is dumping a state of the queue(s) to the hard-drive, so it can be efficiently snapshotted before dump starts (so that the state is consistent).
Could we add snapshot to STM? Alternatively, could we export TBQueue constructor?
Activity
simonmar commentedon Apr 23, 2022
I have no objection to adding this.
epoberezkin commentedon Apr 23, 2022
cool, I will make a PR if that's ok
epoberezkin commentedon Apr 23, 2022
in #56