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

MySql EventStore does not support transactions #39

Closed
basz opened this issue Jan 13, 2017 · 2 comments
Closed

MySql EventStore does not support transactions #39

basz opened this issue Jan 13, 2017 · 2 comments

Comments

@basz
Copy link
Member

basz commented Jan 13, 2017

Adding the TransactionManager Plugin to a MySqlEventStore should throw an exception as it can only be used by Postgres.

Currently it runs out of memory

@prolic
Copy link
Member

prolic commented Jan 25, 2017

@basz how did you do that? The TransactionManager has a typehint for TransactionalEventStore in the constructor, and the MySqlEventStore does not implement that interface. So PHP should throw already.

@basz
Copy link
Member Author

basz commented Jan 26, 2017

I don't remember. When i try it now it indeed dies: PHP Fatal error: Uncaught TypeError:

@basz basz closed this as completed Jan 26, 2017
gquemener added a commit to gquemener/recipes-contrib that referenced this issue Dec 10, 2019
The TransactionManager service is not compatible with the preconfigured
event store from the prooph/pdo-event-store flex recipe.

In order to use it, one must first reconfigure the event store
definition to use the PostgresEventStore implementation (instead of the
MySqlEventStore implementation).

See prooph/pdo-event-store#39
github-actions bot pushed a commit to nicolas-grekas/recipes-contrib that referenced this issue Sep 16, 2021
The TransactionManager service is not compatible with the preconfigured
event store from the prooph/pdo-event-store flex recipe.

In order to use it, one must first reconfigure the event store
definition to use the PostgresEventStore implementation (instead of the
MySqlEventStore implementation).

See prooph/pdo-event-store#39
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

2 participants