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

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

image - python get coordinates (pixels) of corresponding points from clicks -