Introduce the Readonly flag in TableRouteValue
#2638
Labels
C-enhancement
Category Enhancements
Milestone
TableRouteValue
#2638
What type of enhancement is this?
Refactor, Tech debt reduction
What does the enhancement do?
We must set the read-only flag before actions for any dead or unavailable writable region(the Leader Peer).
We currently use the
InactiveRegionManager
. After the old MetaServer Leader crashes, the new Leader will re-register the inactive region. However, there may be a Datanode restart and get the wrong leases before the new Leader re-registering the inactive region.Implementation challenges
No response
The text was updated successfully, but these errors were encountered: