From 0d019060de7bc80464bea767edc18f21cc63a317 Mon Sep 17 00:00:00 2001 From: Bvsk Patnaik Date: Tue, 9 Apr 2024 18:55:13 -0700 Subject: [PATCH] Fix typo in transaction-layer.md Description says that exclusive locks are replicated when it clearly should have been shared locks (under the shared locks section). --- src/current/v23.2/architecture/transaction-layer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/v23.2/architecture/transaction-layer.md b/src/current/v23.2/architecture/transaction-layer.md index 8a887a54710..d456e6cbc52 100644 --- a/src/current/v23.2/architecture/transaction-layer.md +++ b/src/current/v23.2/architecture/transaction-layer.md @@ -50,7 +50,7 @@ Reads can optionally [acquire the following locks]({% link {{ page.version.versi - **Exclusive locks** block concurrent [writes](#writing) and [locking reads]({% link {{ page.version.version }}/read-committed.md %}#locking-reads) on a row. Only one transaction can hold an exclusive lock on a row at a time, and only the transaction holding the exclusive lock can write to the row. By default under [`READ COMMITTED`]({% link {{ page.version.version }}/read-committed.md %}) isolation, exclusive locks are replicated via [Raft]({% link {{ page.version.version }}/architecture/replication-layer.md %}#raft). -- **Shared locks** block concurrent [writes](#writing) and **exclusive** [locking reads]({% link {{ page.version.version }}/read-committed.md %}#locking-reads) on a row. Multiple transactions can hold a shared lock on a row at the same time. When multiple transactions hold a shared lock on a row, none can write to the row. A shared lock grants transactions mutual read-only access to a row, and ensures that they read the latest value of the row. By default under [`READ COMMITTED`]({% link {{ page.version.version }}/read-committed.md %}) isolation, exclusive locks are replicated via [Raft]({% link {{ page.version.version }}/architecture/replication-layer.md %}#raft). +- **Shared locks** block concurrent [writes](#writing) and **exclusive** [locking reads]({% link {{ page.version.version }}/read-committed.md %}#locking-reads) on a row. Multiple transactions can hold a shared lock on a row at the same time. When multiple transactions hold a shared lock on a row, none can write to the row. A shared lock grants transactions mutual read-only access to a row, and ensures that they read the latest value of the row. By default under [`READ COMMITTED`]({% link {{ page.version.version }}/read-committed.md %}) isolation, shared locks are replicated via [Raft]({% link {{ page.version.version }}/architecture/replication-layer.md %}#raft). ### Commits (phase 2)