Change special keyspace to \xff\xff, \xff\xff\xff
This commit is contained in:
parent
393cbabd52
commit
81dd97d27f
|
@ -39,6 +39,7 @@ protected:
|
||||||
|
|
||||||
class SpecialKeySpace {
|
class SpecialKeySpace {
|
||||||
public:
|
public:
|
||||||
|
// TODO : remove snapshot parameter
|
||||||
Future<Optional<Value>> get(Reference<ReadYourWritesTransaction> ryw, const Key& key, bool snapshot = false);
|
Future<Optional<Value>> get(Reference<ReadYourWritesTransaction> ryw, const Key& key, bool snapshot = false);
|
||||||
|
|
||||||
Future<Standalone<RangeResultRef>> getRange(Reference<ReadYourWritesTransaction> ryw, KeySelector begin,
|
Future<Standalone<RangeResultRef>> getRange(Reference<ReadYourWritesTransaction> ryw, KeySelector begin,
|
||||||
|
|
|
@ -28,7 +28,7 @@ const KeyRangeRef systemKeys(systemKeysPrefix, LiteralStringRef("\xff\xff") );
|
||||||
const KeyRangeRef nonMetadataSystemKeys(LiteralStringRef("\xff\x02"), LiteralStringRef("\xff\x03"));
|
const KeyRangeRef nonMetadataSystemKeys(LiteralStringRef("\xff\x02"), LiteralStringRef("\xff\x03"));
|
||||||
const KeyRangeRef allKeys = KeyRangeRef(normalKeys.begin, systemKeys.end);
|
const KeyRangeRef allKeys = KeyRangeRef(normalKeys.begin, systemKeys.end);
|
||||||
const KeyRef afterAllKeys = LiteralStringRef("\xff\xff\x00");
|
const KeyRef afterAllKeys = LiteralStringRef("\xff\xff\x00");
|
||||||
const KeyRangeRef specialKeys = KeyRangeRef(LiteralStringRef("\xff\xff"), LiteralStringRef("\xff\xff\xff\xff"));
|
const KeyRangeRef specialKeys = KeyRangeRef(LiteralStringRef("\xff\xff"), LiteralStringRef("\xff\xff\xff"));
|
||||||
|
|
||||||
// keyServersKeys.contains(k) iff k.startsWith(keyServersPrefix)
|
// keyServersKeys.contains(k) iff k.startsWith(keyServersPrefix)
|
||||||
const KeyRangeRef keyServersKeys( LiteralStringRef("\xff/keyServers/"), LiteralStringRef("\xff/keyServers0") );
|
const KeyRangeRef keyServersKeys( LiteralStringRef("\xff/keyServers/"), LiteralStringRef("\xff/keyServers0") );
|
||||||
|
|
Loading…
Reference in New Issue