Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
Signed-off-by: Bin Zhang <[email protected]>
  • Loading branch information
b6g committed Nov 26, 2024
1 parent e689dcf commit 0e396b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions txnkv/transaction/txn.go
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,7 @@ func (txn *KVTxn) StartTS() uint64 {
return txn.startTS
}

// CommitTS returns the commit timestamp of the already committed transaction, or zero if it's not committed yet.
func (txn *KVTxn) CommitTS() uint64 {
return txn.commitTS
}
Expand Down

0 comments on commit 0e396b2

Please sign in to comment.