Description
In assigning a region, assignment manager forces the region state offline if it is not. This could cause double assignment, for example, if the region is already assigned and in the Open state, you should not just change it's state to Offline, and assign it again.
I think this could be the root cause for all double assignments IF the region state is reliable.
After this loophole is closed, TestHBaseFsck should come up a different way to create some assignment inconsistencies, for example, calling region server to open a region directly.
Attachments
Attachments
Issue Links
- is depended upon by
-
HBASE-6896 sync bulk and regular assigment handling socket timeout exception
- Closed
-
HBASE-6976 Change assignment related logging to TRACE level
- Closed
-
HBASE-6977 Multithread processing ZK assignment events
- Closed
- relates to
-
HBASE-6487 assign region doesn't check if the region is already assigned
- Closed