HBASE-25723 Temporarily remove the trace support for RegionScanner.next (#3119)

Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
Duo Zhang 2021-04-03 23:07:22 +08:00 committed by Duo Zhang
parent 8399293e21
commit 7f90c2201f
2 changed files with 29 additions and 32 deletions

View File

@ -255,7 +255,6 @@ class RegionScannerImpl implements RegionScanner, Shipper, RpcCallback {
@Override
public boolean nextRaw(List<Cell> outResults, ScannerContext scannerContext) throws IOException {
return TraceUtil.trace(() -> {
if (storeHeap == null) {
// scanner is closed
throw new UnknownScannerException("Scanner was closed");
@ -289,7 +288,6 @@ class RegionScannerImpl implements RegionScanner, Shipper, RpcCallback {
moreValues = false;
}
return moreValues;
}, () -> region.createRegionSpan("RegionScanner.next"));
}
/**

View File

@ -178,7 +178,6 @@ public class TestHRegionTracing {
}
assertSpan("Region.getScanner");
assertSpan("RegionScanner.reseek");
assertSpan("RegionScanner.next");
assertSpan("RegionScanner.close");
}
}