sadwitdastreetz commented on code in PR #683:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/683#discussion_r2448896953


##########
hugegraph-loader/src/main/java/org/apache/hugegraph/loader/HugeGraphLoader.java:
##########
@@ -233,15 +733,18 @@ private void loadStruct(InputStruct struct, InputReader 
reader) {
         ParseTaskBuilder taskBuilder = new ParseTaskBuilder(this.context, 
struct);
         final int batchSize = this.context.options().batchSize;
         List<Line> lines = new ArrayList<>(batchSize);

Review Comment:
   Thanks for the comment.
   InputProgress internally synchronizes all modifying operations and uses 
thread-safe collections (ConcurrentHashMap and synchronizedMap).
   Therefore, there is no race condition risk here.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to