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: Unexpected rpc msg size limit #29682

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

weiliu1031
Copy link
Contributor

due to clientMaxSendSize and serverMaxRecvSize will limit the rpc request size limit, they should use same config value, and serverMaxSendSize and clientMaxRecvSize will limit the rpc response size limit, they should use same config value too.

This PR fix unexpected rpc msg limit which caused by the wrong usage of misunderstanding rpc config items

@sre-ci-robot sre-ci-robot added the size/M Denotes a PR that changes 30-99 lines. label Jan 4, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Jan 4, 2024
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

Attention: 23 lines in your changes are missing coverage. Please review.

Comparison is base (99e0f1e) 83.72% compared to head (b2e9d87) 80.91%.
Report is 22 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #29682      +/-   ##
==========================================
- Coverage   83.72%   80.91%   -2.82%     
==========================================
  Files         679      922     +243     
  Lines      108623   127409   +18786     
==========================================
+ Hits        90949   103087   +12138     
- Misses      14361    21028    +6667     
+ Partials     3313     3294      -19     
Files Coverage Δ
internal/datacoord/handler.go 79.85% <100.00%> (+0.29%) ⬆️
internal/datanode/syncmgr/storage_serializer.go 89.92% <100.00%> (+0.07%) ⬆️
internal/datanode/syncmgr/storage_v2_serializer.go 80.12% <100.00%> (+0.12%) ⬆️
internal/datanode/syncmgr/task.go 100.00% <100.00%> (+12.87%) ⬆️
internal/datanode/writebuffer/l0_write_buffer.go 70.37% <100.00%> (+2.37%) ⬆️
internal/datanode/writebuffer/write_buffer.go 92.07% <100.00%> (-1.33%) ⬇️
internal/proxy/meta_cache.go 90.05% <100.00%> (+0.24%) ⬆️
internal/proxy/task.go 85.48% <100.00%> (ø)
internal/proxy/task_delete.go 85.98% <100.00%> (ø)
internal/proxy/task_index.go 75.74% <100.00%> (ø)
... and 29 more

... and 261 files with indirect coverage changes

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
Copy link
Contributor

mergify bot commented Jan 5, 2024

@weiliu1031 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@weiliu1031
Copy link
Contributor Author

/run-cpu-e2e

1 similar comment
@weiliu1031
Copy link
Contributor Author

/run-cpu-e2e

@yellow-shine
Copy link
Collaborator

rerun ut

@mergify mergify bot added the ci-passed label Jan 5, 2024
Copy link
Contributor

@congqixia congqixia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, weiliu1031

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit 07057fc into milvus-io:master Jan 5, 2024
14 checks passed
weiliu1031 added a commit to weiliu1031/milvus that referenced this pull request Jan 15, 2024
due to `clientMaxSendSize` and `serverMaxRecvSize` will limit the rpc
request size limit, they should use same config value, and
`serverMaxSendSize` and `clientMaxRecvSize` will limit the rpc response
size limit, they should use same config value too.

This PR fix unexpected rpc msg limit which caused by the wrong usage of
misunderstanding rpc config items

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
sre-ci-robot pushed a commit that referenced this pull request Jan 16, 2024
pr: #29682
due to `clientMaxSendSize` and `serverMaxRecvSize` will limit the rpc
request size limit, they should use same config value, and
`serverMaxSendSize` and `clientMaxRecvSize` will limit the rpc response
size limit, they should use same config value too.

This PR fix unexpected rpc msg limit which caused by the wrong usage of
misunderstanding rpc config items

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/bug Issues or changes related a bug lgtm size/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants