Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3639

WALEntryFilter to replicate only multi-tenant views from SYSTEM.CATALOG

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.8.0, 4.9.0
    • 4.10.0
    • None

    Description

      As a stopgap before PHOENIX-3520, we can create an HBase WALEntryFilter to filter out non-tenant rows of SYSTEM.CATALOG from replication while allowing tenant-owned rows such as tenant views to proceed with replication.

      This would have to be incorporated into a ReplicationEndpoint subclass to be useful, though HBASE-17543 would make that much simpler by doing it via configuration rather than code (and avoiding the need for a new peer to be created).

      If PHOENIX-3520 is on the near-future roadmap, however, that would be the better solution to the "replication corrupts SYSTEM.CATALOG" problem.

      Attachments

        1. PHOENIX-3639.patch
          11 kB
          Geoffrey Jacoby
        2. PHOENIX-3639.v2.patch
          13 kB
          Geoffrey Jacoby

        Activity

          People

            gjacoby Geoffrey Jacoby
            gjacoby Geoffrey Jacoby
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: