hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanisha Koneru (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDDS-267) Handle consistency issues during container update/close
Date Wed, 08 Aug 2018 23:50:00 GMT

     [ https://issues.apache.org/jira/browse/HDDS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hanisha Koneru updated HDDS-267:
--------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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, HDDS-267.004.patch,
HDDS-267.005.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


Mime
View raw message