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

The FSYNC_WAL flag does not work on branch-2.x

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.3.0, 2.2.3, 2.1.9
    • Component/s: wal
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      You can check the reference to SyncFuture.isForceSync, no one calls it. And in FSHLog, we always use the field useHsync instead of getting one from the SyncFuture. I think the problem here is that we have done some optimization for batching the sync futures on branch-2.x so it is not easy to get the forceSync flag from a single SyncFuture when doing sync.

      But anyway, we need to fix this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zhangduo Duo Zhang
                Reporter:
                zhangduo Duo Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: