public static final class DebugGrpc.DebugBlockingStub extends io.grpc.stub.AbstractBlockingStub<DebugGrpc.DebugBlockingStub>
Debug service for TiKV. Errors are defined as follow: - OK: Okay, we are good! - UNKNOWN: For unknown error. - INVALID_ARGUMENT: Something goes wrong within requests. - NOT_FOUND: It is key or region not found, it's based on context, detailed reason can be found in grpc message. Note: It bypasses raft layer.
protected DebugGrpc.DebugBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<DebugGrpc.DebugBlockingStub>
public Debugpb.GetResponse get(Debugpb.GetRequest request)
Read a value arbitrarily for a key. Note: Server uses key directly w/o any encoding.
public Debugpb.RaftLogResponse raftLog(Debugpb.RaftLogRequest request)
Read raft info.
public Debugpb.RegionInfoResponse regionInfo(Debugpb.RegionInfoRequest request)
public Debugpb.RegionSizeResponse regionSize(Debugpb.RegionSizeRequest request)
Calculate size of a region. Note: DO NOT CALL IT IN PRODUCTION, it's really expensive.
public Iterator<Debugpb.ScanMvccResponse> scanMvcc(Debugpb.ScanMvccRequest request)
Scan a specific range. Note: DO NOT CALL IT IN PRODUCTION, it's really expensive. Server uses keys directly w/o any encoding.
public Debugpb.CompactResponse compact(Debugpb.CompactRequest request)
Compact a column family in a specified range. Note: Server uses keys directly w/o any encoding.
public Debugpb.InjectFailPointResponse injectFailPoint(Debugpb.InjectFailPointRequest request)
Inject a fail point. Currently, it's only used in tests. Note: DO NOT CALL IT IN PRODUCTION.
public Debugpb.RecoverFailPointResponse recoverFailPoint(Debugpb.RecoverFailPointRequest request)
Recover from a fail point.
public Debugpb.ListFailPointsResponse listFailPoints(Debugpb.ListFailPointsRequest request)
List all fail points.
public Debugpb.GetMetricsResponse getMetrics(Debugpb.GetMetricsRequest request)
Get Metrics
public Debugpb.RegionConsistencyCheckResponse checkRegionConsistency(Debugpb.RegionConsistencyCheckRequest request)
Do a consistent check for a region.
public Debugpb.ModifyTikvConfigResponse modifyTikvConfig(Debugpb.ModifyTikvConfigRequest request)
dynamically modify tikv's config
public Debugpb.GetRegionPropertiesResponse getRegionProperties(Debugpb.GetRegionPropertiesRequest request)
Get region properties
public Debugpb.GetStoreInfoResponse getStoreInfo(Debugpb.GetStoreInfoRequest request)
Get store ID
public Debugpb.GetClusterInfoResponse getClusterInfo(Debugpb.GetClusterInfoRequest request)
Get cluster ID
public Debugpb.GetAllRegionsInStoreResponse getAllRegionsInStore(Debugpb.GetAllRegionsInStoreRequest request)
Get all region IDs in the store
public Debugpb.ResetToVersionResponse resetToVersion(Debugpb.ResetToVersionRequest request)
Make this TiKV node return to the status on this node to certain ts.
Copyright © 2024 PingCAP. All rights reserved.