Copilot commented on code in PR #368:
URL: https://github.com/apache/atlas/pull/368#discussion_r2136941874
##########
repository/src/main/java/org/apache/atlas/repository/impexp/ExportService.java:
##########
@@ -248,10 +248,11 @@ private AtlasExportResult.OperationStatus
processObjectId(AtlasObjectId item, Ex
AtlasVertex vertex = AtlasGraphUtilsV2.findByGuid(guid);
String typeName = GraphHelper.getTypeName(vertex);
context.startingEntityType = typeName;
+ context.startingEntityGuid = guid;
processEntityGuid(guid, context);
}
Review Comment:
[nitpick] Consider adding a brief comment clarifying why the loop now checks
both guidsToProcess and lineageToProcess for emptiness to aid future
maintenance.
```suggestion
// Continue processing as long as there are GUIDs to process or
lineage information to process.
// This ensures that all related entities and their lineage are
handled.
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]