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

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -