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

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -