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 "Hanisha Koneru (JIRA)" <ji...@apache.org> on 2018/07/30 18:43:00 UTC
[jira] [Comment Edited] (HDDS-267) Handle consistency issues during
container update/close
[ https://issues.apache.org/jira/browse/HDDS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16562321#comment-16562321 ]
Hanisha Koneru edited comment on HDDS-267 at 7/30/18 6:42 PM:
--------------------------------------------------------------
Rebased on top of trunk and fixed unit test failure.
was (Author: hanishakoneru):
Rebased on top of trunk.
> Handle consistency issues during container update/close
> -------------------------------------------------------
>
> Key: HDDS-267
> URL: https://issues.apache.org/jira/browse/HDDS-267
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Hanisha Koneru
> Assignee: Hanisha Koneru
> Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-267.001.patch, HDDS-267.002.patch, HDDS-267.003.patch
>
>
> During container update and close, the .container file on disk is modified. We should make sure that the in-memory state and the on-disk state for a container are consistent.
> A write lock is obtained before updating the container data during close or update operations.
> During update operation, if the on-disk update of .container file fails, then the container metadata is in-memory is also reset to the old value.
> During close operation, if the on-disk update of .container file fails, then the in-memory containerState is set to CLOSING so that no new operations are permitted.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org