Merge pull request #3738 from dongxinEric/misc/remove-unused-client-knob
The actual BYTE_LIMIT_UNLIMITED and ROW_LIMIT_UNLIMITED are defined i…
This commit is contained in:
commit
a188f91fe6
|
@ -27,8 +27,6 @@
|
||||||
|
|
||||||
class ClientKnobs : public Knobs {
|
class ClientKnobs : public Knobs {
|
||||||
public:
|
public:
|
||||||
int BYTE_LIMIT_UNLIMITED;
|
|
||||||
int ROW_LIMIT_UNLIMITED;
|
|
||||||
|
|
||||||
int TOO_MANY; // FIXME: this should really be split up so we can control these more specifically
|
int TOO_MANY; // FIXME: this should really be split up so we can control these more specifically
|
||||||
|
|
||||||
|
|
|
@ -1235,7 +1235,7 @@ ACTOR Future<Void> fetchKeys( StorageCacheData *data, AddingCacheRange* cacheRan
|
||||||
try {
|
try {
|
||||||
TEST(true); // Fetching keys for transferred cacheRange
|
TEST(true); // Fetching keys for transferred cacheRange
|
||||||
|
|
||||||
state Standalone<RangeResultRef> this_block = wait( tryFetchRange( data->cx, fetchVersion, keys, GetRangeLimits( CLIENT_KNOBS->ROW_LIMIT_UNLIMITED, fetchBlockBytes ), &isTooOld ) );
|
state Standalone<RangeResultRef> this_block = wait( tryFetchRange( data->cx, fetchVersion, keys, GetRangeLimits( GetRangeLimits::ROW_LIMIT_UNLIMITED, fetchBlockBytes ), &isTooOld ) );
|
||||||
|
|
||||||
state int expectedSize = (int)this_block.expectedSize() + (8-(int)sizeof(KeyValueRef))*this_block.size();
|
state int expectedSize = (int)this_block.expectedSize() + (8-(int)sizeof(KeyValueRef))*this_block.size();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue