Skip to content
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

Wait for non stale results extension for LINQ #3489

Open
jeremydmiller opened this issue Oct 18, 2024 · 1 comment
Open

Wait for non stale results extension for LINQ #3489

jeremydmiller opened this issue Oct 18, 2024 · 1 comment

Comments

@jeremydmiller
Copy link
Member

I hated this about RavenDb years ago, but here we are.

For multi-stream projections, it's just not feasible to run them as Inline if there's any contention between threads. But other folks want to query the results of multi-stream projections with strong consistency.

As a workaround, how about an option to add a "wait for non stale results" waiter in LINQ specifically for multi-stream projections. This would "wait" until the multi-stream projection was seen to be caught up w/ the the high water mark at the initial request, then proceed

@AlexZeitler
Copy link
Contributor

Since I have already entered the territory of multi-stream projections, I can imagine that I will (have to) use it sooner or later.

@jeremydmiller jeremydmiller added this to the Marten 8.0 milestone Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants