pinal-shah commented on code in PR #426: URL: https://github.com/apache/atlas/pull/426#discussion_r2298630929
########## repository/src/main/java/org/apache/atlas/repository/patches/ReIndexPatch.java: ########## @@ -188,8 +189,10 @@ protected void processItem(AtlasElement item) { private void attemptCommit() { for (String indexName : indexNames) { - try { - this.graph.getManagementSystem().reindex(indexName, list); + try (AtlasGraphManagement management = this.graph.getManagementSystem()) { Review Comment: [RepairIndex.java#L179](https://github.com/apache/atlas/blob/959cb93cece17bcb91f978c41820f92d71a203b1/tools/atlas-index-repair/src/main/java/org/apache/atlas/tools/RepairIndex.java#L179) also needs commit/rrollback. Although this utility is less preferred to use. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@atlas.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org