Nanda kumar created HDDS-305:
--------------------------------

             Summary: Datanode StateContext#addContainerActionIfAbsent will add 
container action even if there already is a ContainerAction
                 Key: HDDS-305
                 URL: https://issues.apache.org/jira/browse/HDDS-305
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
          Components: Ozone Datanode
            Reporter: Nanda kumar
            Assignee: Nanda kumar
             Fix For: 0.2.1


StateContext#addContainerActionIfAbsent should add the ContainerAction only if 
the same action is absent. The same container for which the same action is 
created might have different "number of keys" or "used bytes" making the 
actions not equal and causing duplicated values in {{containerActions}} queue.
Thanks to [~hanishakoneru] for pointing this out.



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

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

Reply via email to