hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11082) Potential unclosed TraceScope in FSHLog#replaceWriter()
Date Fri, 25 Apr 2014 22:02:17 GMT
Ted Yu created HBASE-11082:

             Summary: Potential unclosed TraceScope in FSHLog#replaceWriter()
                 Key: HBASE-11082
                 URL: https://issues.apache.org/jira/browse/HBASE-11082
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor

In the finally block starting at line 924:
    } finally {
      // Let the writer thread go regardless, whether error or not.
      if (zigzagLatch != null) {
        // It will be null if we failed our wait on safe point above.
        if (syncFuture != null) blockOnSync(syncFuture);
If blockOnSync() throws IOException, the TraceScope would be left unclosed.

This message was sent by Atlassian JIRA

View raw message