google cloud spanner - Locks and commit failures -


here scenario. lock row in read write transaction , commit transaction. if commit successful, release lock well. if commit failed reason? should explicitly rollback transaction release locks or commit failure automatically release locks. ?

locks released on failure. need call rollback if don't issue session.commit request.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -