eventstore
eventstore copied to clipboard
Remember the generated stream_id across batches of events being appeneded.
Addresses #283
By returning and remembering stream_id
created in the first batch, then subsequent batches no longer fail with a duplicate stream_uuid constraint error.
This has been a long standing issue as mentioned in the issue. It was hidden by excluding :slow
tests by default. This PR also includes slow tests by default. The test run goes from about 30s to 60s on my machine.
I think we can close #285 in favour of this one.
Big thanks to @thomasdziedzic for finding this one.