alternative api to avoid versionstamp deadlock #62
Pyrolistical
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Out of curiosity, is this a problem you're running into or just a neat idea? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the current versionstamp API, which can lead to deadlock if one awaits the
tn.getVersionstamp().promise
insidedoTn
Could we avoid this problem all together by another api like
doTnWithVersionstamp
In this new api
await versionstamp
does nothing insidedoTnWithVersionstamp
Beta Was this translation helpful? Give feedback.
All reactions