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 "Shashikant Banerjee (JIRA)" <ji...@apache.org> on 2018/06/12 15:21:00 UTC

[jira] [Created] (HDDS-162) DataNode Container reads/Writes should be disallowed for open containers if the replication type mismatches

Shashikant Banerjee created HDDS-162:
----------------------------------------

             Summary: DataNode Container reads/Writes should be disallowed for open containers if the replication type mismatches
                 Key: HDDS-162
                 URL: https://issues.apache.org/jira/browse/HDDS-162
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: Ozone Datanode, SCM
            Reporter: Shashikant Banerjee
            Assignee: Shashikant Banerjee
             Fix For: 0.2.1


In Ozone, container can be created via ratis or Standalone protocol. However, the reads/.writes on the containers on datanodes can be done through either of these if the container location is known.  A case may arise where data is being written into container via Ratis i.e, the container is in open State on the Datanodes and read via Standalone. This should not be allowed as if the read from the follower Datanodes in Ratis via Standalone Protocol might result in giving stale data. Once the container is closed on the datanode, data can be read via either of the protocols.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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