mneethiraj commented on code in PR #426:
URL: https://github.com/apache/atlas/pull/426#discussion_r2298890384


##########
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:
   Reviewed all calls to `JanusGraph.openManagement()`, and updated to ensure 
that `commit()` is called on the returned instance.



-- 
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

Reply via email to