Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8671

Per-region WAL breaks CP backwards compatibility in 0.94 for non-enabled case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.9
    • 0.94.9
    • None
    • None

    Description

      Moving from a single WAL to the possibility of multiple WALs, the method signature in RegionServerServices became:

        /** @return the HLog for a particular region. Pass null for getting the
         * default (common) WAL */
        public HLog getWAL(HRegionInfo regionInfo) throws IOException;
      

      However, CPs that previously needed access to the WAL would just call:

      RegionServerServices.getWAL();
      

      Which is equivalent to calling:

      RegionServerServices.getWAL(null);
      

      but which requires a code change, recompilation, and possibly an additional compatibility layer for different versions of 0.94... not a great situation.

      Attachments

        1. hbase-8671-v0.patch
          1 kB
          Jesse Yates

        Activity

          People

            jesse_yates Jesse Yates
            jesse_yates Jesse Yates
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: