You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "zju_zsx (Jira)" <ji...@apache.org> on 2023/05/15 09:55:00 UTC

[jira] [Created] (HDFS-17013) FSNamesystem.commitBlockSynchronization may not persistBlocks

zju_zsx created HDFS-17013:
------------------------------

             Summary: FSNamesystem.commitBlockSynchronization may not persistBlocks
                 Key: HDFS-17013
                 URL: https://issues.apache.org/jira/browse/HDFS-17013
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: zju_zsx


When the method commitBlockSynchronization is called with the arguments closeFile set to true and deleteblock set to true, the block is removed from the INodeFile's block list. If the INodeFile cannot be converted to a complete file, an IllegalStateException is thrown. The newest blocks are not persisted in the editlog.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org