Skip to content

Total records limit in the GetRecords reply#481

Merged
sanderpick merged 1 commit intotextileio:masterfrom
anyproto:fix-get-records-limit
Feb 9, 2021
Merged

Total records limit in the GetRecords reply#481
sanderpick merged 1 commit intotextileio:masterfrom
anyproto:fix-get-records-limit

Conversation

@dgtony
Copy link
Copy Markdown
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
Copy Markdown
Contributor

@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