eventstore icon indicating copy to clipboard operation
eventstore copied to clipboard

Remember the generated stream_id across batches of events being appeneded.

Open drteeth opened this issue 5 months ago • 1 comments

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.

drteeth avatar Sep 19 '24 15:09 drteeth