Replies: 1 comment 6 replies
-
What database are you using? Does switching |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I experience race conditions (threads, processes) with following code. Hint: The
insert
and thefind
have to be separate calls. I cannot usereturning
.If multiple threads/processes call this code, it sometimes fails with following invalid sql-statement:
A db-transaction obviously doesn't help. Do I need to sync the overlying code (i.e. Redlock (redis process-lock))?
Thanks!
best regards
Beta Was this translation helpful? Give feedback.
All reactions