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

Prabhu Joseph commented on YARN-9874:
-------------------------------------

Thanks [~giovanni.fumarola] for reviewing. Have by mistake added an untracked 
file, fixed it in  [^YARN-9874-002.patch] .

> Remove unnecessary LevelDb write call in 
> LeveldbConfigurationStore#confirmMutation
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-9874
>                 URL: https://issues.apache.org/jira/browse/YARN-9874
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler
>    Affects Versions: 3.3.0
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Minor
>         Attachments: YARN-9874-001.patch, YARN-9874-002.patch
>
>
> Remove unnecessary LevelDb write call in 
> LeveldbConfigurationStore#confirmMutation.
> {code}
>  public void confirmMutation(boolean isValid) throws IOException {
>     WriteBatch updateBatch = db.createWriteBatch();
>     if (isValid) {
>      .......
>     }
>     db.write(updateBatch);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to