Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14790 Implement a new DFSOutputStream for logging WAL only
  3. HBASE-14949

Resolve name conflict when splitting if there are duplicated WAL entries

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • wal
    • None
    • Reviewed
    • Now we can write duplicated WAL entries into different WAL files. This feature is required by the replication consistency fix and new implementation of WAL writer.

    Description

      The AsyncFSHLog introduced in HBASE-14790 may write same WAL entries to different WAL files. WAL entry itself is idempotent so replay is not a problem but the intermediate file name and final name when splitting is constructed using the lowest or highest sequence id of the WAL entries written, so it is possible that different WAL files will have same intermediate or final file name when splitting. In the currentm implementation, this will cause split fail or data loss. We need to solve this.

      Attachments

        1. HBASE-14949_v1.patch
          16 kB
          Heng Chen
        2. HBASE-14949_v2.patch
          8 kB
          Heng Chen
        3. HBASE-14949.patch
          16 kB
          Heng Chen
        4. HBASE-14949-addendum-branch-1.patch
          4 kB
          Duo Zhang
        5. HBASE-14949-v3.patch
          15 kB
          Duo Zhang
        6. HBASE-14949-v4.patch
          15 kB
          Duo Zhang
        7. HBASE-14949-v5.patch
          16 kB
          Duo Zhang

        Activity

          People

            zhangduo Duo Zhang
            chenheng Heng Chen
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: