You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/22 02:50:00 UTC

[jira] [Updated] (YARN-9874) Remove unnecessary LevelDb write call in LeveldbConfigurationStore#confirmMutation

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

ASF GitHub Bot updated YARN-9874:
---------------------------------
    Labels: pull-request-available  (was: )

> 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: Ashutosh Gupta
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: YARN-9874-001.patch, YARN-9874-002.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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.20.7#820007)

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