Repository navigation
Conversation
|
@RongtongJin Could you help unblock CI for these seven PRs? I checked the 49 current-head workflow records: none returned an executed job, so these results do not establish a code-test failure. #11214, #11217 and #11218 still await maintainer approval. Their runs were created nearly 30 days ago: Could you approve the pending workflows and help restart CI for #11173, #11175, #11211 and #11213, whose zero-job runs are now marked failed? The timing is consistent with an approval-wait expiry, rather than executed tests failing. All seven currently report mergeable=true, but still need CI and review. Keeping this request in one thread rather than pinging each PR. Thanks. |
Which Issue(s) This PR Fixes
Brief Description
A truncated trace entry currently throws while
decoderFromTraceDataStringindexes or parses its fields, so valid entries later in the same trace message are lost. Decode each entry independently and skip entries with missing or invalid required fields. Preserve trailing empty fields, which are valid for aSubBeforeentry with no keys, and keep the older 12-fieldPubformat readable.The earlier #10847 was closed without merging. This version also handles records cut off at a numeric field, where a field-count check alone still throws, and tests all five trace types for later-record recovery.
How Did You Test This Change?
ArrayIndexOutOfBoundsExceptionfor a valid empty-keySubBeforeentry andNumberFormatExceptionfor a record cut off at its numeric message-type field before the fix.JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 PATH=/usr/lib/jvm/java-11-openjdk-amd64/bin:$PATH mvn -B -ntp -pl client -am -Dtest=TraceDataEncoderTest -Dsurefire.failIfNoSpecifiedTests=false test— 12 tests passed, including the new truncated-record, numeric-boundary, legacy-format, and empty-key cases. The Maven lifecycle ran Checkstyle and SpotBugs.git diff --check— passed.