You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2012/02/28 04:41:54 UTC

[jira] [Created] (HDFS-3020) Auto-logSync based on edit log buffer size broken

Auto-logSync based on edit log buffer size broken
-------------------------------------------------

                 Key: HDFS-3020
                 URL: https://issues.apache.org/jira/browse/HDFS-3020
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
    Affects Versions: 0.23.0, 0.22.0
            Reporter: Todd Lipcon
            Priority: Critical


HDFS-1112 added a feature whereby the edit log automatically calls logSync() if the buffered data crosses a threshold. However, the code checks {{bufReady.size()}} rather than {{bufCurrent.size()}} -- which is incorrect since the writes themselves go into {{bufCurrent}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira