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

NODE-2329 Reestabilish input stream on unexpected read bytes size #3704

Open
wants to merge 4 commits into
base: version-1.4.x
Choose a base branch
from

Conversation

xrtm000
Copy link
Member

@xrtm000 xrtm000 commented May 17, 2022

No description provided.

@xrtm000 xrtm000 requested a review from phearnot as a code owner May 17, 2022 15:44
@yvaskov yvaskov self-requested a review May 30, 2022 12:49
log.info(s"$factReadSize != expected $blockSize")
log.info(s"reestablishing input stream")
inputStream.close()
inputStream = getInputStream()
Copy link
Member

Choose a reason for hiding this comment

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

Just a notice: actually we have blockSize for each block, so we don't need to read whole BlockInfoAtHeight sequence to find the offset.

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.

None yet

4 participants