[
https://issues.apache.org/jira/browse/HDFS-11667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15976116#comment-15976116
]
Mukul Kumar Singh commented on HDFS-11667:
------------------------------------------
Hi Chen, Thanks for the review. Following are my replies
1) This code has just been moved from "writeBlockBufferToFile" to the start
function, This is done to make sure that if the directory doesn't exist then
they should be created when CblockCache is starting
2) This case can occur in case of shutdown, where writeBlockBufferToFile will
be called as part of shutdown even when the blockIDBuffer is empty.
> Block Storage:Handling flushing of incomplete block id buffers during shutdown
> ------------------------------------------------------------------------------
>
> Key: HDFS-11667
> URL: https://issues.apache.org/jira/browse/HDFS-11667
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Reporter: Mukul Kumar Singh
> Assignee: Mukul Kumar Singh
> Attachments: HDFS-11667-HDFS-7240.001.patch,
> HDFS-11667-HDFS-7240.002.patch
>
>
> Currently, whenever the cache shutdown not, zero blocks are written to
> DirtyLog. This change will ensure that only required number of blocks are
> written to the DirtyLog.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]