Versions in this module Expand all Collapse all v0 v0.3.0 Mar 9, 2022 v0.2.0 Jan 5, 2022 Changes in this version + var DataPrefixSize = dataPrefixKeySize + 8 + var ForcedSyncKey = []byte + func GetAppliedIndexKey(shardID uint64, key []byte) []byte + func GetHardStateKey(shardID uint64, replicaID uint64, key []byte) []byte + func GetMaxIndexKey(shardID uint64, key []byte) []byte + func GetMetadataIndex(key []byte) (uint64, error) + func GetMetadataKey(shardID uint64, index uint64, key []byte) []byte + func GetRaftLogIndex(key []byte) (uint64, error) + func GetRaftLogKey(shardID uint64, index uint64, key []byte) []byte + func GetRaftPrefix(shardID uint64) []byte + func GetShardIDFromAppliedIndexKey(key []byte) (uint64, error) + func GetShardIDFromMetadataKey(key []byte) (uint64, error) + func GetSnapshotKey(shardID uint64, index uint64, key []byte) []byte + func GetStoreIdentKey() []byte + func IsAppliedIndexKey(key []byte) bool + func IsMetadataKey(key []byte) bool + func IsRaftLogKey(key []byte) bool