HBASE-26136 Backport HBASE-25723 "Temporarily remove the trace support for RegionScanner.next" to branch-2 (#3623)
13/17 commits of HBASE-22120, original commit 7f90c2201f6a17d2e2d031505c35ae7c2b1ed7ea Co-authored-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
8f160109cd
commit
c639d6f353
@ -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");
|
||||
@ -287,7 +286,6 @@ class RegionScannerImpl implements RegionScanner, Shipper, RpcCallback {
|
||||
moreValues = false;
|
||||
}
|
||||
return moreValues;
|
||||
}, () -> region.createRegionSpan("RegionScanner.next"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -178,7 +178,6 @@ public class TestHRegionTracing {
|
||||
}
|
||||
assertSpan("Region.getScanner");
|
||||
assertSpan("RegionScanner.reseek");
|
||||
assertSpan("RegionScanner.next");
|
||||
assertSpan("RegionScanner.close");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user