@@ -1027,18 +1027,24 @@ message EndTxnResponse {
1027
1027
// The commit timestamp of the STAGING transaction record written
1028
1028
// by the request. Only set if the transaction record was staged.
1029
1029
util.hlc.Timestamp staging_timestamp = 5 [(gogoproto.nullable ) = false ];
1030
- // ReplicatedLocksReleasedOnCommit, if non-empty, indicate that replicated
1031
- // locks with strength Shared or Exclusive were released in the referenced key
1032
- // spans when committing this transaction. Notably, this field is left unset
1033
- // if only write intents were resolved. The field is also left unset for
1034
- // transactions that aborted.
1030
+ // ReplicatedLocalLocksReleasedOnCommit, if non-empty, indicate that
1031
+ // replicated locks with strength Shared or Exclusive were released in the
1032
+ // referenced key spans when committing this transaction. These locks are
1033
+ // local to the range on which the EndTxn request evaluated. Notably, this
1034
+ // field is left unset if only write intents were resolved. The field is only
1035
+ // set when transactions are explicitly marked as committed.
1035
1036
//
1036
1037
// The caller must bump the timestamp cache across these spans to the
1037
- // transaction's commit timestamp. Doing so ensures that the released locks
1038
- // (acquired by the now committed transaction) continue to provide protection
1039
- // against other writers up to the commit timestamp, even after the locks have
1040
- // been released.
1041
- repeated Span replicated_locks_released_on_commit = 6 [(gogoproto.nullable ) = false ];
1038
+ // transaction's commit timestamp. Doing so ensures that the released local[1]
1039
+ // locks (acquired by the now committed transaction) continue to provide
1040
+ // protection against other writers up to the commit timestamp, even after the
1041
+ // locks have been released.
1042
+ //
1043
+ // [1] Non-local replicated locks provide the same protection, however, the
1044
+ // mechanism of bumping the timestamp cache is different there. See the
1045
+ // ReplicatedLocksReleasedCommitTimestamp field on
1046
+ // ResolveIntent{,Range}Response.
1047
+ repeated Span replicated_local_locks_released_on_commit = 6 [(gogoproto.nullable ) = false ];
1042
1048
}
1043
1049
1044
1050
// An AdminSplitRequest is the argument to the AdminSplit() method. The
0 commit comments