OrleansContrib / Orleans.Providers.MongoDB

A MongoDb implementation of the Orleans Providers: Membership, Storage and Reminders.
MIT License
105 stars 44 forks source link

Non-deterministic collection initialization fixed #133

Closed NorekZ closed 7 months ago

NorekZ commented 7 months ago

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.