Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make use of the idempotency checks when attempting rewrites #1356
Tested this by forcing a commit timeout when writing the registration event one of the system projections.
When this happens on 4.0.2, the registration event is written again to $projections-$all, resulting in two registration events for the same projection. The projection will then run and process events, but on a restart of Event Store projections throw errors such as "An item with the same key has already been added" and the projections do not come up.
This is no longer reproducible on this branch as the retried event results in an idempotent write.