From 3adbc895100b181328028e01b0ea3ef1affaece0 Mon Sep 17 00:00:00 2001 From: chaoguang <13974480+zjuLcg@users.noreply.github.com> Date: Tue, 28 Apr 2020 16:50:24 -0700 Subject: [PATCH] update special-key-space argument --- fdbclient/ReadYourWrites.actor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdbclient/ReadYourWrites.actor.cpp b/fdbclient/ReadYourWrites.actor.cpp index 539b858419..ff0b5dba3e 100644 --- a/fdbclient/ReadYourWrites.actor.cpp +++ b/fdbclient/ReadYourWrites.actor.cpp @@ -1229,7 +1229,7 @@ Future< Optional > ReadYourWritesTransaction::get( const Key& key, bool s return Optional(); } - // special key space are only allowed to query if both begin and end start with \xff\xff + // special key space are only allowed to query if both begin and end are in \xff\xff, \xff\xff\xff if (specialKeys.contains(key)) return getDatabase()->specialKeySpace->get(Reference::addRef(this), key); @@ -1284,7 +1284,7 @@ Future< Standalone > ReadYourWritesTransaction::getRange( } } - // special key space are only allowed to query if both begin and end start with \xff\xff + // special key space are only allowed to query if both begin and end are in \xff\xff, \xff\xff\xff if (specialKeys.contains(begin.getKey()) && specialKeys.contains(end.getKey())) return getDatabase()->specialKeySpace->getRange(Reference::addRef(this), begin, end, limits, reverse);