Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
The method setQuota() can make the remote quota(the quota on real clusters) inconsistent with the MountTable. I think we have 3 ways to fix it:
- Reject all the setQuota() rpcs if it trys to change the quota of a mount table.
- Let setQuota() to change the mount table quota. Update the quota on zk first and then update remote quotas.
- Do nothing. The RouterQuotaUpdateService will finally make all the remote quota right. We can tolerate short-term inconsistencies.
I'd like option 1 because I want the RouterAdmin to be the only entrance to update the MountTable.
Option 3 we don't need change anything, but the quota will be inconsistent for a short-term. The remote quota will be effective immediately and auto-changed back after a while. User might be confused about the behavior.
Â
Attachments
Attachments
Issue Links
- is a child of
-
HDFS-14813 RBF: Make Global quota and Remote quota consistent.
- Resolved