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

Configurable max_msg_size #79

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Configurable max_msg_size #79

merged 1 commit into from
Mar 28, 2024

Conversation

xiaoxichen
Copy link
Contributor

Upper layer can pass in
params.max_message_size_
to specified the max message size the GRPC server will accept.

UT with params.max_message_size_ set to 65MB and SEND_DATA up to 64MB which is our target max_blob_size.

@xiaoxichen xiaoxichen force-pushed the max_msg_size branch 2 times, most recently from b8858dd to 6d1d313 Compare March 28, 2024 01:10
@codecov-commenter
Copy link

codecov-commenter commented Mar 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.20%. Comparing base (009f47c) to head (cacd32a).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
+ Coverage   71.36%   74.20%   +2.84%     
==========================================
  Files          21       20       -1     
  Lines         887      853      -34     
  Branches      103       98       -5     
==========================================
  Hits          633      633              
+ Misses        189      155      -34     
  Partials       65       65              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Upper layer can pass in
    params.max_message_size_
to specified the max message size the GRPC server will accept.

UT with params.max_message_size_ set to 65MB and SEND_DATA up to 4MB.

SEND_DATA with 64MB is not stable as raft hb timeout can be easily
triggered.

Signed-off-by: Xiaoxi Chen <[email protected]>
@xiaoxichen xiaoxichen merged commit 0262682 into eBay:main Mar 28, 2024
12 checks passed
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