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
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?
The text was updated successfully, but these errors were encountered:
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:
But snapshot is a part of flushTBQueue, and if TBQueue constructor was exported it could have been implemented outside in this way:
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?
The text was updated successfully, but these errors were encountered: