Issues with Concurrency for PostgresPersister StartAutoLoad and StartAutoSave #238
Unanswered
adrian-burlacu-software
asked this question in
Q&A
Replies: 1 comment
-
Did some more testing
Due to these findings I think it's a bug in TinyBase... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am building an open source DB engine backed by TinyBase.
Stark-DB Rx branch
I have everything mostly working. There is just a small-looking bug that I found when testing my engine. It is that I cannot read and write at the same time with PostgresPersister.startAutoLoad and startAutoSave. Basically the reads wipe out my writes sometimes.
I know about CQRS(and event sourcing, and have heard of CRDT) so I am not fully surprised, but I would like to know if this is a bug in TinyBase or if there is a quick fix that I can implement on my side.
Here is the line that if I comment out all my tests stop losing data.
Beta Was this translation helpful? Give feedback.
All reactions