[ 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org