Optimistic Locking - CI/CD用語集の定義
楽観的ロックは、競合がまれであると想定します。バージョンまたはタイムスタンプを読み取り、処理を行い、コミット時にのみ行が変更されていないことを確認します。変更されていた場合、書き込みは失敗し、再試行されます。
関連ガイド
Pessimistic Locking - CI/CD Glossary DefinitionPessimistic locking grabs a row or table lock before reading, blocking other writers. It prevents conflicts a…
Transaction Isolation - CI/CD Glossary DefinitionTransaction isolation defines how concurrent transactions see each other’s uncommitted work, from read-uncomm…
ACID - CI/CD Glossary DefinitionACID - atomicity, consistency, isolation, durability - are the four guarantees a transactional database makes…