Skip to content

branch-4.1: [fix](fe) Fix int overflow in BeIdComparator causing stream load failure #63565 - #64053

Merged
yiguolei merged 1 commit into
branch-4.1from
auto-pick-63565-branch-4.1
Jun 4, 2026
Merged

branch-4.1: [fix](fe) Fix int overflow in BeIdComparator causing stream load failure #63565#64053
yiguolei merged 1 commit into
branch-4.1from
auto-pick-63565-branch-4.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #63565

…ure (#63565)
`(int)(a.getId() - b.getId())` overflows when BE ID delta exceeds
Integer.MAX_VALUE, breaking the Comparator contract and causing stream
load to fail with "Comparison method violates its general contract!".
Use `Long.compare` instead. Same fix applied to CloudSystemInfoService.
@github-actions
github-actionsBot requested a review from yiguolei as a code ownerJune 3, 2026 04:23
@yiguolei

Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 50.00% (1/2) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 0.00% (0/2) 🎉
Increment coverage report
Complete coverage report

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Jun 4, 2026
@github-actions

Copy link
Copy Markdown
ContributorAuthor

PR approved by at least one committer and no changes requested.

@github-actions

Copy link
Copy Markdown
ContributorAuthor

PR approved by anyone and no changes requested.

@yiguolei

Copy link
Copy Markdown
Contributor

skip buildall

@yiguoleiyiguolei closed this Jun 4, 2026
@yiguoleiyiguolei reopened this Jun 4, 2026
@yiguolei
yiguolei merged commit c6bb469 into branch-4.1Jun 4, 2026
32 of 34 checks passed
@morningman
morningman deleted the auto-pick-63565-branch-4.1 branch July 8, 2026 14:09
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@yiguolei@hello-stephen@zhangrq5