wu-sheng commented on a change in pull request #6715:
URL: https://github.com/apache/skywalking/pull/6715#discussion_r611621944



##########
File path: 
apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/trace/TraceSegment.java
##########
@@ -39,13 +39,13 @@
     private String traceSegmentId;
 
     /**
-     * The refs of parent trace segments, except the primary one. For most RPC 
call, {@link #refs} contains only one
+     * The refs of parent trace segments, except the primary one. For most RPC 
call, {@link #traceSegmentRef} contains only one
      * element, but if this segment is a start span of batch process, the 
segment faces multi parents, at this moment,
-     * we use this {@code #refs} to link them.
+     * we only related the first parent TraceSegment.

Review comment:
       ```suggestion
        * we only cached the first parent segment reference.
   ```




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to