-
Notifications
You must be signed in to change notification settings - Fork 56
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
Implementing ACID Transactions #52
Conversation
src/BookStore/Infrastructure/Doctrine/DoctrineBookRepository.php
Outdated
Show resolved
Hide resolved
0c151cb
to
27b7bbe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me then. Thanks again!
Looks like we have to update our training material again @mtalrd :)
Some tests seem broken with this change
8178d72
to
01456c6
Compare
Yeah, still checking |
44a641a
to
5cfab63
Compare
This comment was marked as outdated.
This comment was marked as outdated.
5cfab63
to
04990c2
Compare
04990c2
to
4a3ab51
Compare
I added a |
2de379e
to
96a6132
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM then! Thanks @yceruto 🙂
Closes #46
Introduces ACID (Atomicity, Consistency, Isolation, Durability) transactions, which are designed to improve data integrity and consistency. This enhancement involves the implementation of a new transaction management system using Doctrine Transaction Middleware within the Messenger component for command handlers.
This approach guarantees that once transactions are committed, they remain stable and unaffected by system failures.
I didn't check the tests yet...