Skip to content
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(rust): change sequence number type of message id from i16 to i32 #566

Merged
merged 3 commits into from
Jul 11, 2023

Conversation

ShadowySpirits
Copy link
Member

The sequence number of message id should be 4 bytes/32-bit. But the current implementation in rust client is 2 bytes/16-bit, this pr fixes it.

Signed-off-by: SSpirits <admin@lv5.moe>
Signed-off-by: SSpirits <admin@lv5.moe>
@codecov-commenter
Copy link

Codecov Report

Merging #566 (551a039) into master (29d332b) will decrease coverage by 0.06%.
The diff coverage is 20.00%.

@@             Coverage Diff              @@
##             master     #566      +/-   ##
============================================
- Coverage     46.84%   46.78%   -0.06%     
  Complexity      667      667              
============================================
  Files           208      208              
  Lines         11889    11889              
  Branches       3319     3319              
============================================
- Hits           5569     5562       -7     
- Misses         6075     6082       +7     
  Partials        245      245              
Flag Coverage Δ
rust 81.76% <20.00%> (-0.24%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
rust/src/model/message_id.rs 86.66% <20.00%> (-11.67%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@zhouxinyu zhouxinyu merged commit f4f198b into apache:master Jul 11, 2023
19 checks passed
@ShadowySpirits ShadowySpirits deleted the fix_message_id branch July 11, 2023 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants