Failed to send over 64KB for subsegment output

Open
#388 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws, java

Research direction

Start with UDPEmitter.sendData and reproduce the subsegment output described in the issue when the payload exceeds 64KB. Compare the transmitted lengths for the normal and failed patterns, including the child subsegment, parent subsegment, and segment. Done means the cause of the roughly 6000-byte difference is identified and oversized output is transmitted successfully.

Written by the indexing model from the issue text.

Description

the current situation
① Create subsegment of insertKaisyuRenkeiToSeikyuIchiranyoDataWork
*Metadata size: 53688

②Using UDP Emitter,
If it exceeds 64KB, first send the child subsegment, then send the parent subsegment
Finally send the segment
➡When sending ① above, debug and check sendData of UDPEmitter,
data. length: 59590
The difference between them is about 6000. Why is there such a difference?

↑The above is the pattern normally sent


The attached image is a transmission failure pattern
※The difference is about 6000 bytes

image

Dominant language
Java
Stars
100
Forks
100
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-xray-sdk-java

All issues in aws/aws-xray-sdk-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.