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.