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

Writer.flush() can be called on already closed streams in WAL roll

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 1.2.4, 1.1.8, 2.0.0
    • wal
    • None
    • Reviewed

    Description

      In https://issues.apache.org/jira/browse/HBASE-12074, we hit an error if an async thread calls flush on a WAL record already closed as the WAL is being rotated. This JIRA investigates if setting the new WAL record path as the first operation during WAL rotation will fix the issue.

      Attachments

        1. hbase-16824_v2.patch
          9 kB
          Enis Soztutar
        2. hbase-16824_v2.patch
          9 kB
          Enis Soztutar
        3. hbase-16824_v1.patch
          10 kB
          Enis Soztutar

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            enis Enis Soztutar
            atris Atri Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment