public static interface Kvrpcpb.CheckTxnStatusRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getCallerStartTs()
The start timestamp of the transaction which this request is part of.
|
Kvrpcpb.Context |
getContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ContextOrBuilder |
getContextOrBuilder()
.kvrpcpb.Context context = 1; |
long |
getCurrentTs()
The client must specify the current time to TiKV using this timestamp.
|
boolean |
getForceSyncCommit()
This field is set to true only if the transaction is known to fall back from async commit.
|
long |
getLockTs()
Starting timestamp of the transaction being checked.
|
com.google.protobuf.ByteString |
getPrimaryKey()
Primary key and lock ts together to locate the primary lock of a transaction.
|
boolean |
getResolvingPessimisticLock()
If the check request is used to resolve or decide the transaction status for a input pessimistic
lock, the transaction status could not be decided if the primary lock is pessimistic too and
it's still uncertain.
|
boolean |
getRollbackIfNotExist()
If true, then TiKV will leave a rollback tombstone in the write CF for `primary_key`, even if
that key is not locked.
|
boolean |
hasContext()
.kvrpcpb.Context context = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasContext()
.kvrpcpb.Context context = 1;
Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;
Kvrpcpb.ContextOrBuilder getContextOrBuilder()
.kvrpcpb.Context context = 1;
com.google.protobuf.ByteString getPrimaryKey()
Primary key and lock ts together to locate the primary lock of a transaction.
bytes primary_key = 2;
long getLockTs()
Starting timestamp of the transaction being checked.
uint64 lock_ts = 3;
long getCallerStartTs()
The start timestamp of the transaction which this request is part of.
uint64 caller_start_ts = 4;
long getCurrentTs()
The client must specify the current time to TiKV using this timestamp. It is used to check TTL timeouts. It may be inaccurate.
uint64 current_ts = 5;
boolean getRollbackIfNotExist()
If true, then TiKV will leave a rollback tombstone in the write CF for `primary_key`, even if that key is not locked.
bool rollback_if_not_exist = 6;
boolean getForceSyncCommit()
This field is set to true only if the transaction is known to fall back from async commit. Then, CheckTxnStatus treats the transaction as non-async-commit even if the use_async_commit field in the primary lock is true.
bool force_sync_commit = 7;
boolean getResolvingPessimisticLock()
If the check request is used to resolve or decide the transaction status for a input pessimistic lock, the transaction status could not be decided if the primary lock is pessimistic too and it's still uncertain.
bool resolving_pessimistic_lock = 8;
Copyright © 2024 PingCAP. All rights reserved.