-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flush/snapshot only certain key #298
Labels
enhancement
New feature or request
Comments
Thanks for the feedback! Unfortunately, that would be very hard to implement because Metall does not know which memory regions are used to allocate the object associated with a given key. Could you tell me a bit more information about how Metall is used in your program? I might be able to come up with something to optimize your program. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One nice to have feature would be to be able to flush or snapshot only a certain key.
We have a situation in a multithreaded application where threads may be writing to a container within a key which is going through a resize. If another thread is doing a flush at the same time, it would cause data corruption or a runtime error. It would be nice to have a key level flush so that we don't need global level locks on the manager.
The text was updated successfully, but these errors were encountered: