Uh oh!
There was an error while loading. Please reload this page.
HBASE-26643 AssignmentManager should check for empty result returned … - #4005
Conversation
Apache-HBase
commented
Jan 5, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 5, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 5, 2022
💔 -1 overall
This message was automatically generated. |
Apache9
commented
Jan 6, 2022
Ah, there is a problem. For RSGroupLoadBalancer, we have to use BOGUS_SERVER_NAME to indicate the upper layer that some regions can not be assigned, otherwise the upper layer needs iterator over all the regions to check wheter there are missing ones. Otherwise we need to redesign the return value to make it possible to tell upper layer that some regions are not assigned, through other ways... So I suppose we should not return empty map to upper layer then, we should use BOGUS_SERVER_NAME to record the regions which can not be assigned. Let me provide a new patch. |
Apache-HBase
commented
Jan 6, 2022
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 6, 2022
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 6, 2022
🎊 +1 overall
This message was automatically generated. |
nyl3532016
commented
Jan 7, 2022
It seems createTableProcedure only use |
nyl3532016
commented
Jan 7, 2022
Should we also modify |
Apache9
commented
Jan 7, 2022
I think this is fine... As null is enough to tell the upper layer we can not assign a region. BOGUS_SERVER_NAME is used in Map since put null key to map is not a good practise usually... |
Signed-off-by: Yulin Niu <niuyulin@apache.org>
Signed-off-by: Yulin Niu <niuyulin@apache.org>
Signed-off-by: Yulin Niu <niuyulin@apache.org>
Signed-off-by: Yulin Niu <niuyulin@apache.org> (cherry picked from commit 3f68399) Change-Id: Ib3723293c001e10e2461d86f5a9c761af9c8ad9e
…by LoadBalancer