This commit is contained in:
Suraj Gupta 2021-12-06 15:18:58 -05:00 committed by Josh Slocum
parent fc3376fe8f
commit 0f3318a8ba
1 changed files with 2 additions and 0 deletions

View File

@ -6542,6 +6542,7 @@ 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();
}
@ -6720,6 +6721,7 @@ 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();
}