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

sync hlog writer just after create it, so trigger addBlock and establish write pipeline before the first hlog sync

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Hide
      Resolving as dup of HBASE-10010. This patch seems to have gone stale also. I only see SequenceFileLogWriter out in hbase-server/src/test/main now.
      Show
      Resolving as dup of HBASE-10010 . This patch seems to have gone stale also. I only see SequenceFileLogWriter out in hbase-server/src/test/main now.

      Description

      Current when hlog rollWriter:
      (1)createWriter will call ClientProtocol.create
      (2)first hlog sync will trigger ClientProtocol.addBlock and establish write pipeline
      we can sync the outputstream to force trigger ClientProtocol.addBlock and establish write pipeline before the first hlog sync

        Attachments

        1. HBASE-7216.patch
          1 kB
          Lijin Bin
        2. HBASE-7216-94.patch
          0.9 kB
          Lijin Bin

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                binlijin Lijin Bin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: