-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix RequestCode overflowed issues:8868 #8871
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #8871 +/- ##
=============================================
- Coverage 47.19% 47.15% -0.04%
+ Complexity 11676 11668 -8
=============================================
Files 1304 1304
Lines 90984 90984
Branches 11668 11668
=============================================
- Hits 42936 42906 -30
- Misses 42765 42789 +24
- Partials 5283 5289 +6 ☔ View full report in Codecov by Sentry. |
unsubscribe
在 2024-10-29 17:15:23,"Codecov Comments Bot" ***@***.***> 写道:
Codecov Report
All modified and coverable lines are covered by tests ✅
Project coverage is 47.15%. Comparing base (ecb45bb) to head (f8d7bc6).
Additional details and impacted files
@@ Coverage Diff @@## develop #8871 +/- ##
=============================================
- Coverage 47.19% 47.15% -0.04% + Complexity 11676 11668 -8
=============================================
Files 1304 1304
Lines 90984 90984
Branches 11668 11668
=============================================
- Hits 42936 42906 -30 - Misses 42765 42789 +24 - Partials 5283 5289 +6
☔ View full report in Codecov by Sentry.
Have feedback on the report? Share it here.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I think the change breaks compatibility, In fact, the request code is int when use serializeTypeCurrentRPC=json. which is default. so old clients will fail to connect new server, and new clients fail to connet old server. the fix is included in #5909 |
Sounds reasonable, let me double check. |
There is no easy way to fix the overflow issue. We need to revert this change @zzjcool |
This reverts commit 327abe5.
Which Issue(s) This PR Fixes
Fixes #8868
Brief Description
Description:
The following message request codes exceed the maximum value for a short integer (32767), resulting in an overflow. The original values are as follows:
Actual Values After Overflow:
Due to the overflow, the actual values of these constants are:
How Did You Test This Change?
unit test