We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modeling Clojure's STM, a user can reasonably expect an exception thrown within a dosync!! block to abort the transaction without side-effects.
This is not in fact the case.
=> (seq @(.state (avout.transaction/get-local-transaction *avout-client*))) (0 0 0 0 0 0 0 0) => (avout/dosync!! *avout-client* (throw (RuntimeException. "FAIL!"))) run-in-transaction exception: #<RuntimeException java.lang.RuntimeException: FAIL!> nil => (seq @(.state (avout.transaction/get-local-transaction *avout-client*))) (0 0 0 0 0 0 0 2)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Modeling Clojure's STM, a user can reasonably expect an exception thrown within a dosync!! block to abort the transaction without side-effects.
This is not in fact the case.
The text was updated successfully, but these errors were encountered: