Skip to content

Commit

Permalink
fix old volume quota update for all
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitagrawl committed Aug 21, 2024
1 parent 479d710 commit 5e7d94b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ private void repairActiveDb(
}

// update volume to support quota
builder.setSupportVolumeOldQuota(true);
if (buckets.isEmpty()) {
builder.setSupportVolumeOldQuota(true);
} else {
builder.setSupportVolumeOldQuota(false);
}
}

private OzoneManagerProtocolProtos.OMResponse submitRequest(
Expand Down

0 comments on commit 5e7d94b

Please sign in to comment.