Skip to content

[BUG]Broker cannot read the full length of buffer size #3879

@xy720

Description

@xy720

Describe the bug
Our current broker cannot read the full length of buffer from input stream when the buffer size is set larger than 128k.

This bug will cause the data size returned by pread request to be less than 128K all the time.

To Reproduce
Set the pread request's length larger than 128 * 1024 (128k).

Metadata

Metadata

Assignees

Labels

area/brokerIssues or PRs related to brokerkind/fixCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions