Prabhu Joseph created YARN-9874:
-----------------------------------
Summary: 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
Reporter: Prabhu Joseph
Assignee: Prabhu Joseph
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]