[ 
https://issues.apache.org/jira/browse/HDDS-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16562381#comment-16562381
 ] 

Hanisha Koneru commented on HDDS-305:
-------------------------------------

Thanks [~nandakumar131] for the improvement.
+1 pending Jenkins.

> 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
>    Affects Versions: 0.2.1
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-305.000.patch
>
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to