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

Provide API for obtaining all the WAL files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Currently RegionServerServices has the following API:

        WAL getWAL(HRegionInfo regionInfo) throws IOException;
      

      Caller can only obtain filenum for a specific WAL.

      When multi wal is in use, we should add API for obtaining highest file number among all the outstanding WAL files.

      User can pass null to getWAL() method above, but the filenum for the returned WAL may not be the highest among all the WAL files.
      See log snippet in the first comment.

      Attachments

        1. 16455.branch-1.v4.txt
          9 kB
          Ted Yu
        2. 16455.branch-1.v5.txt
          8 kB
          Ted Yu
        3. 16455.v1.txt
          8 kB
          Ted Yu
        4. 16455.v2.txt
          8 kB
          Ted Yu
        5. 16455.v3.txt
          6 kB
          Ted Yu
        6. 16455.v4.txt
          9 kB
          Ted Yu
        7. 16455.v5.txt
          10 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: