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

fa.jraft-core.1.3.1.source-code.raft.proto Maven / Gradle / Ivy

syntax="proto2";

package jraft;

import "enum.proto";

option java_package="com.alipay.sofa.jraft.entity";
option java_outer_classname = "RaftOutter";


message EntryMeta {
    required int64 term = 1;
    required EntryType type = 2;
    repeated string peers = 3;
    optional int64 data_len = 4;
    // Don't change field id of `old_peers' in the consideration of backward
    // compatibility
    repeated string old_peers = 5;
    // Checksum fot this log entry, since 1.2.6, added by [email protected]
    optional int64 checksum = 6;
    repeated string learners = 7;
    repeated string old_learners = 8;
};

message SnapshotMeta {
    required int64 last_included_index = 1;
    required int64 last_included_term = 2;
    repeated string peers = 3;
    repeated string old_peers = 4;
    repeated string learners = 5;
    repeated string old_learners = 6;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy