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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.3.0, 2.2.3, 2.1.9
    • wal
    • None
    • 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

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: