Perform multiple reads/searches with snapshot isolation / pausing tasks #798
underflow00
started this conversation in
Feedback & Feature Proposal
Replies: 1 comment
-
Hi @underflow00 , as a bit of context, federated search (but not regular multi-search) guarantees that any index is only opened once per request, preserving a consistent view of the data. We could explore extending this behavior to regular multi-search. Would that help with your use case? If that wouldn’t fully address your needs, could you share more details on why snapshot isolation is essential for your workflow? While long-lived transactions are currently out of our scope, understanding your specific requirements could help us consider alternative solutions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I sometimes want to perform multiple reads/searches with snapshot isolation (like in an SQL database), i.e. without seeing any changes to the documents made after the first read. It looks like this is not possible currently. Using locks/mutexes to block writes at the application/user level while the reads are also being performed also doesn't work, as the enqueued tasks are still running in the background.
Some form of SQL-like transactions or the ability to pause tasks would be helpful here.
Beta Was this translation helpful? Give feedback.
All reactions