From 9fbccb21d296fee8aef3d2604e48eef3cf361624 Mon Sep 17 00:00:00 2001 From: Suraj Gupta Date: Tue, 7 Dec 2021 10:05:39 -0500 Subject: [PATCH] Remove checks from native API. --- fdbclient/NativeAPI.actor.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/fdbclient/NativeAPI.actor.cpp b/fdbclient/NativeAPI.actor.cpp index d60699f6ee..73b93a39b1 100644 --- a/fdbclient/NativeAPI.actor.cpp +++ b/fdbclient/NativeAPI.actor.cpp @@ -6542,12 +6542,6 @@ ACTOR Future>> getBlobGranuleRangesActor(Trans } Future>> 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>> Transaction::readBlobGranules Version begin, Optional 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); }