Versions in this module Expand all Collapse all v1 v1.1.9 Oct 1, 2018 Changes in this version + const DescriptorTableID + const EventLogTableID + const JobsTableID + const LeaseTableID + const MaxReservedDescID + const MaxSystemConfigDescID + const MetaRangesID + const NamespaceTableID + const RangeEventTableID + const RootNamespaceID + const SettingsTableID + const SystemDatabaseID + const SystemRangesID + const TimeseriesRangesID + const UITableID + const UsersTableID + const VirtualDescriptorID + const WebSessionsTableID + const ZonesTableID + var BootstrapVersionKey = roachpb.Key(makeKey(SystemPrefix, roachpb.RKey("bootstrap-version"))) + var DescIDGenerator = roachpb.Key(makeKey(SystemPrefix, roachpb.RKey("desc-idgen"))) + var LocalAbortCacheSuffix = []byte("abc-") + var LocalLeaseAppliedIndexSuffix = []byte("rlla") + var LocalMax = roachpb.Key + var LocalQueueLastProcessedSuffix = roachpb.RKey("qlpt") + var LocalRaftAppliedIndexSuffix = []byte("rfta") + var LocalRaftHardStateSuffix = []byte("rfth") + var LocalRaftLastIndexSuffix = []byte("rfti") + var LocalRaftLogSuffix = []byte("rftl") + var LocalRaftTombstoneSuffix = []byte("rftb") + var LocalRaftTruncatedStateSuffix = []byte("rftt") + var LocalRangeDescriptorSuffix = roachpb.RKey("rdsc") + var LocalRangeFrozenStatusSuffix = []byte("fzn-") + var LocalRangeIDPrefix = roachpb.RKey(makeKey(localPrefix, roachpb.Key("i"))) + var LocalRangeLastGCSuffix = []byte("lgc-") + var LocalRangeLastReplicaGCTimestampSuffix = []byte("rlrt") + var LocalRangeLastVerificationTimestampSuffixDeprecated = []byte("rlvt") + var LocalRangeLeaseSuffix = []byte("rll-") + var LocalRangeMax = LocalRangePrefix.PrefixEnd() + var LocalRangePrefix = roachpb.Key(makeKey(localPrefix, roachpb.RKey("k"))) + var LocalRangeReplicaDestroyedErrorSuffix = []byte("rrde") + var LocalRangeStatsSuffix = []byte("stat") + var LocalTransactionSuffix = roachpb.RKey("txn-") + var LocalTxnSpanGCThresholdSuffix = []byte("tst-") + var MaxKey = roachpb.KeyMax + var Meta1KeyMax = roachpb.Key(makeKey(Meta1Prefix, roachpb.RKeyMax)) + var Meta1Prefix = roachpb.Key + var Meta2KeyMax = roachpb.Key(makeKey(Meta2Prefix, roachpb.RKeyMax)) + var Meta2Prefix = roachpb.Key + var MetaMax = roachpb.Key + var MetaMin = Meta1Prefix + var MetaSpan = roachpb.Span + var MigrationKeyMax = MigrationPrefix.PrefixEnd() + var MigrationLease = roachpb.Key(makeKey(MigrationPrefix, roachpb.RKey("lease"))) + var MigrationPrefix = roachpb.Key(makeKey(SystemPrefix, roachpb.RKey("system-version/"))) + var MinKey = roachpb.KeyMin + var NoSplitSpans = []roachpb.Span + var NodeIDGenerator = roachpb.Key(makeKey(SystemPrefix, roachpb.RKey("node-idgen"))) + var NodeLivenessKeyMax = NodeLivenessPrefix.PrefixEnd() + var NodeLivenessPrefix = roachpb.Key(makeKey(SystemPrefix, roachpb.RKey("\x00liveness-"))) + var NodeLivenessSpan = roachpb.Span + var PrettyPrintTimeseriesKey func(key roachpb.Key) string + var RangeIDGenerator = roachpb.Key(makeKey(SystemPrefix, roachpb.RKey("range-idgen"))) + var StatusNodePrefix = roachpb.Key(makeKey(StatusPrefix, roachpb.RKey("node-"))) + var StatusPrefix = roachpb.Key(makeKey(SystemPrefix, roachpb.RKey("status-"))) + var StoreIDGenerator = roachpb.Key(makeKey(SystemPrefix, roachpb.RKey("store-idgen"))) + var SystemConfigSpan = roachpb.Span + var SystemConfigSplitKey = []byte(TableDataMin) + var SystemConfigTableDataMax = roachpb.Key(MakeTablePrefix(MaxSystemConfigDescID + 1)) + var SystemMax = roachpb.Key + var SystemPrefix = roachpb.Key + var TableDataMax = roachpb.Key(encoding.EncodeVarintAscending(nil, math.MaxInt64)) + var TableDataMin = roachpb.Key(encoding.EncodeVarintAscending(nil, 0)) + var TimeseriesPrefix = roachpb.Key(makeKey(SystemPrefix, roachpb.RKey("tsd"))) + var UserTableDataMin = roachpb.Key(MakeTablePrefix(MaxReservedDescID + 1)) + func AbortCacheKey(rangeID roachpb.RangeID, txnID uuid.UUID) roachpb.Key + func Addr(k roachpb.Key) (roachpb.RKey, error) + func AddrUpperBound(k roachpb.Key) (roachpb.RKey, error) + func DecodeAbortCacheKey(key roachpb.Key, dest []byte) (uuid.UUID, error) + func DecodeRangeIDKey(key roachpb.Key) (rangeID roachpb.RangeID, infix, suffix, detail roachpb.Key, err error) + func DecodeRangeKey(key roachpb.Key) (startKey, suffix, detail roachpb.Key, err error) + func DecodeTablePrefix(key roachpb.Key) ([]byte, uint64, error) + func EnsureSafeSplitKey(key roachpb.Key) (roachpb.Key, error) + func GetRowPrefixLength(key roachpb.Key) (int, error) + func IsLocal(k roachpb.Key) bool + func LeaseAppliedIndexKey(rangeID roachpb.RangeID) roachpb.Key + func MakeFamilyKey(key []byte, famID uint32) []byte + func MakeRangeIDPrefix(rangeID roachpb.RangeID) roachpb.Key + func MakeRangeIDReplicatedPrefix(rangeID roachpb.RangeID) roachpb.Key + func MakeRangeIDUnreplicatedPrefix(rangeID roachpb.RangeID) roachpb.Key + func MakeRangeKey(key, suffix, detail roachpb.RKey) roachpb.Key + func MakeRangeKeyPrefix(key roachpb.RKey) roachpb.Key + func MakeStoreKey(suffix, detail roachpb.RKey) roachpb.Key + func MakeTablePrefix(tableID uint32) []byte + func MassagePrettyPrintedSpanForTest(span string, dirs []encoding.Direction) string + func MetaReverseScanBounds(key roachpb.RKey) (roachpb.RSpan, error) + func MetaScanBounds(key roachpb.RKey) (roachpb.RSpan, error) + func MustAddr(k roachpb.Key) roachpb.RKey + func NodeLivenessKey(nodeID roachpb.NodeID) roachpb.Key + func NodeStatusKey(nodeID roachpb.NodeID) roachpb.Key + func PrettyPrint(key roachpb.Key) string + func PrettyPrintRange(start, end roachpb.Key, maxChars int) string + func QueueLastProcessedKey(key roachpb.RKey, queue string) roachpb.Key + func RaftAppliedIndexKey(rangeID roachpb.RangeID) roachpb.Key + func RaftHardStateKey(rangeID roachpb.RangeID) roachpb.Key + func RaftLastIndexKey(rangeID roachpb.RangeID) roachpb.Key + func RaftLogKey(rangeID roachpb.RangeID, logIndex uint64) roachpb.Key + func RaftLogPrefix(rangeID roachpb.RangeID) roachpb.Key + func RaftTombstoneKey(rangeID roachpb.RangeID) roachpb.Key + func RaftTruncatedStateKey(rangeID roachpb.RangeID) roachpb.Key + func Range(ba roachpb.BatchRequest) (roachpb.RSpan, error) + func RangeDescriptorKey(key roachpb.RKey) roachpb.Key + func RangeFrozenStatusKey(rangeID roachpb.RangeID) roachpb.Key + func RangeLastGCKey(rangeID roachpb.RangeID) roachpb.Key + func RangeLastReplicaGCTimestampKey(rangeID roachpb.RangeID) roachpb.Key + func RangeLastVerificationTimestampKeyDeprecated(rangeID roachpb.RangeID) roachpb.Key + func RangeLeaseKey(rangeID roachpb.RangeID) roachpb.Key + func RangeMetaKey(key roachpb.RKey) roachpb.Key + func RangeStatsKey(rangeID roachpb.RangeID) roachpb.Key + func RangeTxnSpanGCThresholdKey(rangeID roachpb.RangeID) roachpb.Key + func StoreClusterVersionKey() roachpb.Key + func StoreGossipKey() roachpb.Key + func StoreIdentKey() roachpb.Key + func StoreLastUpKey() roachpb.Key + func TransactionKey(key roachpb.Key, txnID uuid.UUID) roachpb.Key + func UglyPrint(input string) (_ roachpb.Key, rErr error) + func UserKey(key roachpb.RKey) roachpb.RKey + type InvalidRangeMetaKeyError struct + Key roachpb.Key + Msg string + func NewInvalidRangeMetaKeyError(msg string, k []byte) *InvalidRangeMetaKeyError + func (i *InvalidRangeMetaKeyError) Error() string + type RangeIDPrefixBuf roachpb.Key + func MakeRangeIDPrefixBuf(rangeID roachpb.RangeID) RangeIDPrefixBuf + func (b RangeIDPrefixBuf) AbortCacheKey(txnID uuid.UUID) roachpb.Key + func (b RangeIDPrefixBuf) LeaseAppliedIndexKey() roachpb.Key + func (b RangeIDPrefixBuf) RaftAppliedIndexKey() roachpb.Key + func (b RangeIDPrefixBuf) RaftHardStateKey() roachpb.Key + func (b RangeIDPrefixBuf) RaftLastIndexKey() roachpb.Key + func (b RangeIDPrefixBuf) RaftLogKey(logIndex uint64) roachpb.Key + func (b RangeIDPrefixBuf) RaftLogPrefix() roachpb.Key + func (b RangeIDPrefixBuf) RaftTombstoneKey() roachpb.Key + func (b RangeIDPrefixBuf) RaftTruncatedStateKey() roachpb.Key + func (b RangeIDPrefixBuf) RangeFrozenStatusKey() roachpb.Key + func (b RangeIDPrefixBuf) RangeLastGCKey() roachpb.Key + func (b RangeIDPrefixBuf) RangeLastReplicaGCTimestampKey() roachpb.Key + func (b RangeIDPrefixBuf) RangeLastVerificationTimestampKeyDeprecated() roachpb.Key + func (b RangeIDPrefixBuf) RangeLeaseKey() roachpb.Key + func (b RangeIDPrefixBuf) RangeReplicaDestroyedErrorKey() roachpb.Key + func (b RangeIDPrefixBuf) RangeStatsKey() roachpb.Key + func (b RangeIDPrefixBuf) RangeTxnSpanGCThresholdKey() roachpb.Key Incompatible versions in this module v19.2.12+incompatible Jan 12, 2021