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

lightning report "received message larger than max (18552234 vs. 4194304)" during duplicate resolution #56114

Open
D3Hunter opened this issue Sep 18, 2024 · 1 comment
Labels
affects-7.1 affects-7.5 affects-8.1 component/lightning This issue is related to Lightning of TiDB. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 severity/major type/bug The issue is confirmed as a bug.

Comments

@D3Hunter
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

currently, we use default max-message-size which is 4M, see

func (f *importClientFactoryImpl) makeConn(ctx context.Context, storeID uint64) (*grpc.ClientConn, error) {

2. What did you expect to see? (Required)

no error

3. What did you see instead (Required)

err

4. What is your TiDB version? (Required)

8.1.0

@D3Hunter D3Hunter added type/bug The issue is confirmed as a bug. severity/major component/lightning This issue is related to Lightning of TiDB. affects-7.1 affects-7.5 affects-8.1 labels Sep 18, 2024
@ti-chi-bot ti-chi-bot bot added may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 labels Sep 18, 2024
@D3Hunter
Copy link
Contributor Author

tikv send max 4k KV on each response. each KV is about 4K+ in the issue case
https://github.com/tikv/tikv/blob/076b79c54b9e7656f9119865d4ed75bec3bd58d6/src/import/duplicate_detect.rs#L16

@D3Hunter D3Hunter added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. and removed good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 affects-7.5 affects-8.1 component/lightning This issue is related to Lightning of TiDB. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

1 participant