Package | Description |
---|---|
org.tikv.common.operation | |
org.tikv.common.region | |
org.tikv.txn |
Constructor and Description |
---|
KVErrorHandler(RegionManager regionManager,
RegionErrorReceiver recv,
AbstractLockResolverClient lockResolverClient,
Function<RespT,Errorpb.Error> getRegionError,
Function<RespT,Kvrpcpb.KeyError> getKeyError,
Function<ResolveLockResult,Object> resolveLockResultCallback,
long callerStartTS,
boolean forWrite) |
Modifier and Type | Field and Description |
---|---|
AbstractLockResolverClient |
RegionStoreClient.lockResolverClient |
Modifier and Type | Class and Description |
---|---|
class |
LockResolverClientV2
Before v3.0.5 TiDB uses the ttl on secondary lock.
|
class |
LockResolverClientV3
Since v3.0.5 TiDB ignores the ttl on secondary lock and will use the ttl on primary key.
|
class |
LockResolverClientV4
Since v4.0.0 TiDB write will not block read (update MinCommitTS).
|
Modifier and Type | Method and Description |
---|---|
static AbstractLockResolverClient |
AbstractLockResolverClient.getInstance(TiConfiguration conf,
TiRegion region,
TiStore store,
TikvGrpc.TikvBlockingStub blockingStub,
TikvGrpc.TikvFutureStub asyncStub,
ChannelFactory channelFactory,
RegionManager regionManager,
PDClient pdClient,
RegionStoreClient.RegionStoreClientBuilder clientBuilder) |
Copyright © 2024 PingCAP. All rights reserved.