Skip to content

Commit 86f78da

Browse files
committed
fix error prone
1 parent 20c6cea commit 86f78da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScannerContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ void clearProgress() {
272272
* ScannerContext across all the compaction lifetime, and we will call Shipper.shipped to clear
273273
* the block reference, so it is safe to clear the block size progress in compaction.
274274
*/
275-
@RestrictedApi(explanation = "Should only be called in compaction", link = "",
276-
allowedOnPath = ".*/org/apache/hadoop/hbase/regionserver/compactions/*.java|.*/src/test/.*")
275+
@RestrictedApi(explanation = "Should only be called in Compactor", link = "",
276+
allowedOnPath = ".*/org/apache/hadoop/hbase/.*/*Compactor.java|.*/src/test/.*")
277277
public void clearBlockSizeProgress() {
278278
progress.setBlockSize(0);
279279
}

0 commit comments

Comments
 (0)