All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ikv.tikv-client.2.4.4-scala_2.11-RC1.source-code.checksum.proto Maven / Gradle / Ivy

There is a newer version: 3.2.3
Show newest version
syntax = "proto2";

package tipb;

option java_multiple_files = true;
option java_package = "com.pingcap.tidb.tipb";

import "gogoproto/gogo.proto";

option (gogoproto.sizer_all) = true;
option (gogoproto.marshaler_all) = true;
option (gogoproto.unmarshaler_all) = true;

enum ChecksumScanOn {
    Table = 0;
    Index = 1;
}

enum ChecksumAlgorithm {
    Crc64_Xor = 0;
}

message ChecksumRewriteRule {
    optional bytes old_prefix = 1;
    optional bytes new_prefix = 2;
}

message ChecksumRequest {
    // Deprecated. Start Ts has been moved to coprocessor.Request.
    optional uint64 start_ts_fallback = 1;
    optional ChecksumScanOn scan_on = 2 [(gogoproto.nullable) = false];
    optional ChecksumAlgorithm algorithm = 3 [(gogoproto.nullable) = false];
    optional ChecksumRewriteRule rule = 4;
}

message ChecksumResponse {
    optional uint64 checksum = 1 [(gogoproto.nullable) = false];
    optional uint64 total_kvs = 2 [(gogoproto.nullable) = false];
    optional uint64 total_bytes = 3 [(gogoproto.nullable) = false];
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy