Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
This is follow up with Stack's comments in https://github.com/apache/hbase/pull/2584/commits/d99c2b0ccfd2a57150e984742d097d1e1fcc47b0.
saintstack 6 days ago
Member
Yeah, said this before but in follow-on, would be good to shove all this stuff into a CatalogReplicaMode class. Internally this class would figure which policy to run. It would have a method that took a Scan that allowed decorating the Scan w/ whatever the mode needed to implement its policy. Later.
huaxiangsun 6 days ago
Author Member
Now I thought about it, it makes sense. Maybe a CatalogReplicaModeManager class which encaps mode and selector?
Let me create a followup jira after this is merged.