Eveneum
Eveneum copied to clipboard
Batch write is not atomic?
events are split into batches, each batch in a loop is wrapped in transaction and persisted: https://github.com/Eveneum/Eveneum/blob/e353061e1ec59164df38dcf44809784e88ca3872/Eveneum/EventStore.cs#L175
But ~if~ when something goes wrong between batch writes, i.e. host dies, network error, etc. then system would have inconsistent state (some events persisted, some not).