Skip to content

Commit e66e8b4

Browse files
committed
review comments
1 parent 64ec8ad commit e66e8b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/SpaceQuotaRefresherChore.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,13 @@ public SpaceQuotaRefresherChore(RegionServerSpaceQuotaManager manager, Connectio
7676
@Override
7777
protected void chore() {
7878
try {
79-
// check whether Quota table is present or not.
79+
// check whether quotaTable is present or not.
8080
if (!quotaTablePresent && !checkQuotaTableExists()) {
8181
LOG.info("Quota table not found, skipping quota manager cache refresh.");
82-
quotaTablePresent = true;
8382
return;
8483
}
84+
// since quotaTable is present so setting the flag as true.
85+
quotaTablePresent = true;
8586
if (LOG.isTraceEnabled()) {
8687
LOG.trace("Reading current quota snapshots from hbase:quota.");
8788
}

0 commit comments

Comments
 (0)