Remove checks from native API.
This commit is contained in:
parent
fdb04129cd
commit
9fbccb21d2
|
@ -6542,12 +6542,6 @@ ACTOR Future<Standalone<VectorRef<KeyRangeRef>>> getBlobGranuleRangesActor(Trans
|
|||
}
|
||||
|
||||
Future<Standalone<VectorRef<KeyRangeRef>>> Transaction::getBlobGranuleRanges(const KeyRange& range) {
|
||||
// TODO: change to use db config
|
||||
/*
|
||||
if (!CLIENT_KNOBS->ENABLE_BLOB_GRANULES) {
|
||||
throw client_invalid_operation();
|
||||
}
|
||||
*/
|
||||
return ::getBlobGranuleRangesActor(this, range);
|
||||
}
|
||||
|
||||
|
@ -6723,12 +6717,6 @@ Future<Standalone<VectorRef<BlobGranuleChunkRef>>> Transaction::readBlobGranules
|
|||
Version begin,
|
||||
Optional<Version> readVersion,
|
||||
Version* readVersionOut) {
|
||||
// TODO: change to use db config
|
||||
/*
|
||||
if (!CLIENT_KNOBS->ENABLE_BLOB_GRANULES) {
|
||||
throw client_invalid_operation();
|
||||
}
|
||||
*/
|
||||
return readBlobGranulesActor(cx, this, range, begin, readVersion, readVersionOut);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue