Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25315 Follow-on tasks that came of "HBASE-18070 Enable memstore replication for meta replica"
  3. HBASE-25247

Followup jira to encap all meta replica mode/selector processing into CatalogReplicaModeManager

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • meta
    • 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.
       

      Attachments

        Activity

          People

            huaxiangsun Huaxiang Sun
            huaxiangsun Huaxiang Sun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: