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

Implement Async Methods #71

Closed
AGiorgetti opened this issue Jan 13, 2025 · 0 comments
Closed

Implement Async Methods #71

AGiorgetti opened this issue Jan 13, 2025 · 0 comments
Assignees

Comments

@AGiorgetti
Copy link
Member

Implement Async Methods to read from and write to streams (IStoreEvents, IEventStream, IPersistStreams, IPersistStreamsAsync, ICommitEventsAsync, IAccessSnapshotsAsync).

@AGiorgetti AGiorgetti self-assigned this Jan 13, 2025
AGiorgetti added a commit that referenced this issue Jan 13, 2025
- Updated `Changelog.md` for new async methods in `IPersistStreams` and breaking change for `EmptyRecycleBin()`.
- Changed subproject commit hash in `NEventStore`.
- Added `Directory.Build.props` for language version and nullable settings.
- Updated language version to 13.0 in relevant project files.
- Enhanced `PersistenceEngineFixture` files with new using directives and adjusted namespaces.
- Updated package references in `NEventStore.Persistence.MongoDB.Core.Tests.csproj`.
- Cleaned up using directives across multiple files, including `ConfigurationException.cs`, `ExtensionMethods.cs`, and `MongoClientCache.cs`.
- Significant changes in `MongoPersistenceEngine.cs` to add async methods and improve logging.
- Adjusted namespaces and removed unnecessary directives in `MongoPersistenceFactory.cs` and `MongoPersistenceOptions.cs`.
- Enhanced checkpoint generation logic in `ICheckpointGenerator` and its implementations to support async operations.
AGiorgetti added a commit that referenced this issue Jan 17, 2025
This commit introduces new test classes and methods for MongoDB persistence in the NEventStore project, focusing on concurrency, checkpoint generation, and snapshot handling. Key classes such as `Verify_safe_generator_not_create_hole` and `Holes_are_filled_after_concurrency_exception` have been added to validate the persistence engine's behavior.

The `MongoPersistenceEngine` class has been enhanced with new methods for handling commits and snapshots, along with improved error handling and logging. Additionally, new checkpoint generator classes, `InMemoryCheckpointGenerator` and `AlwaysQueryDbForNextValueCheckpointGenerator`, have been implemented for better checkpoint management. The project file has also been updated to reference newer versions of the MSTest framework, enhancing overall testing coverage and robustness.
AGiorgetti added a commit that referenced this issue Jan 24, 2025
- Updated `Changelog.md` for new async methods in `IPersistStreams` and breaking change for `EmptyRecycleBin()`.
- Changed subproject commit hash in `NEventStore`.
- Added `Directory.Build.props` for language version and nullable settings.
- Updated language version to 13.0 in relevant project files.
- Enhanced `PersistenceEngineFixture` files with new using directives and adjusted namespaces.
- Updated package references in `NEventStore.Persistence.MongoDB.Core.Tests.csproj`.
- Cleaned up using directives across multiple files, including `ConfigurationException.cs`, `ExtensionMethods.cs`, and `MongoClientCache.cs`.
- Significant changes in `MongoPersistenceEngine.cs` to add async methods and improve logging.
- Adjusted namespaces and removed unnecessary directives in `MongoPersistenceFactory.cs` and `MongoPersistenceOptions.cs`.
- Enhanced checkpoint generation logic in `ICheckpointGenerator` and its implementations to support async operations.
AGiorgetti added a commit that referenced this issue Jan 24, 2025
This commit introduces new test classes and methods for MongoDB persistence in the NEventStore project, focusing on concurrency, checkpoint generation, and snapshot handling. Key classes such as `Verify_safe_generator_not_create_hole` and `Holes_are_filled_after_concurrency_exception` have been added to validate the persistence engine's behavior.

The `MongoPersistenceEngine` class has been enhanced with new methods for handling commits and snapshots, along with improved error handling and logging. Additionally, new checkpoint generator classes, `InMemoryCheckpointGenerator` and `AlwaysQueryDbForNextValueCheckpointGenerator`, have been implemented for better checkpoint management. The project file has also been updated to reference newer versions of the MSTest framework, enhancing overall testing coverage and robustness.
AGiorgetti added a commit that referenced this issue Jan 24, 2025
- Added async methods to IPersistStreams interfaces.
- Updated NEventStore to version 10.0.0.
- Included reference to issue #71 and noted breaking changes.
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

No branches or pull requests

1 participant