825663b38a
* Add a test to reproduce the race condition * Fix race condition by publishing the event after the commit and adding a lock to prevent out of order events. * split publish to generate the list of events before committing the transaction. * add changelog * remove extra func * Apply suggestions from code review Co-authored-by: Dan Upton <daniel@floppy.co> * add comment to explain test --------- Co-authored-by: Dan Upton <daniel@floppy.co>
4 lines
122 B
Plaintext
4 lines
122 B
Plaintext
```release-note:bug
|
|
Fix a race condition where an event is published before the data associated is commited to memdb.
|
|
```
|