You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2010/03/22 07:34:27 UTC

[jira] Created: (HBASE-2355) unsychronized logWriters map is mutated from several threads in HLog splitting

unsychronized logWriters map is mutated from several threads in HLog splitting
------------------------------------------------------------------------------

                 Key: HBASE-2355
                 URL: https://issues.apache.org/jira/browse/HBASE-2355
             Project: Hadoop HBase
          Issue Type: Bug
          Components: master
    Affects Versions: 0.20.3
            Reporter: Todd Lipcon
            Priority: Critical


In splitLog, the logWriters map is an unsynchronized collection, and the spawned threads mutate it. In practice I've now seen several times a situation where one of the puts into this map is lost, and a thread ends up renaming a file it's in the process of writing to, causing those edits to be lost when the log is split.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.