Skip to content

Commit

Permalink
Remove "[Functional Spec]" from the title
Browse files Browse the repository at this point in the history
  • Loading branch information
pkj415 authored Feb 25, 2022
1 parent 53fa8bd commit ee83347
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions architecture/design/pessimistic-locking-functional-spec.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [Functional Spec] YSQL Pessimistic Locking
## YSQL Pessimistic Locking


## 1 Introduction
Expand Down Expand Up @@ -613,9 +613,6 @@ START TRANSACTION</code>
</tr>
</table>




2. **READ COMMITTED isolation level** (exactly as in PostgreSQL) has a dependency on pessimistic locking. Note that in general pessimistic locking is orthogonal to isolation levels but READ COMMITTED specifically has a “dependency” on pessimistic locking. To be precise, on facing a conflict, a transaction has to wait for the conflicting transaction to rollback/commit. On commit, the transaction will fetch the latest version of the row and work on that.

### Versioning and upgrades
Expand All @@ -627,4 +624,4 @@ This feature is upgrade and downgrade safe. When turning the gflag on/off, or du
1. if there is even 1 conflicting transaction that follows pessimistic locking, abort T1
2. Else, behaviour is as today
3. If a transaction T1 uses pessimistic locking and sees transactions that have written conflicting intents -
1. Wait for all conflicting transactions to end
1. Wait for all conflicting transactions to end

0 comments on commit ee83347

Please sign in to comment.