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

Non-deterministic collection initialization fixed #133

Conversation

NorekZ
Copy link
Contributor

@NorekZ NorekZ commented Feb 13, 2024

Fixed:

  1. Collection creation in advance is not needed and this implementation could cause race condition when multiple services starts at the same time.
  2. When collection was initializing during mongo startup, method inside Lazy thrown exception, that was cached forever. My implementation tries to initialize collection until it succeeds.

@NorekZ NorekZ force-pushed the bugfix/nondeterministic-collection-init branch from 2d18fe9 to fc4aff5 Compare February 13, 2024 16:09
@NorekZ NorekZ force-pushed the bugfix/nondeterministic-collection-init branch from fc4aff5 to 0efe333 Compare February 13, 2024 16:11
@wassim-k wassim-k self-requested a review March 4, 2024 20:42
@wassim-k wassim-k merged commit 20ce847 into OrleansContrib:master Mar 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants