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

Total records limit in the GetRecords reply #481

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

dgtony
Copy link
Contributor

@dgtony dgtony commented Feb 1, 2021

Currently number of records returned in the GetRecordsReply is limited by a constant value for every log. However, if some thread contains large number of logs we can still hit on a gRPC's message size limit. Instead we can limit total number of records for all logs in the thread.

Signed-off-by: Anton Dort-Golts <dortgolts@gmail.com>
Copy link
Member

@sanderpick sanderpick left a comment

Choose a reason for hiding this comment

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

Nice, good catch!

@sanderpick sanderpick merged commit 3bbdd2c into textileio:master Feb 9, 2021
@dgtony dgtony deleted the fix-get-records-limit branch February 10, 2021 13:15
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.

2 participants