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

Reading an uncommitted block which has been deleted from buffer cache #1503

Merged
merged 7 commits into from
Aug 22, 2024

Conversation

souravgupta-msft
Copy link
Member

If read request comes for a block which has been staged (uncommitted) and deleted from the buffer list, then

  • Stage the existing dirty blocks
  • Commit the staged blocks via PutBlockList
  • Download the given block for which the read request has come

This also applies during prefetching a block which is uncommitted and has been cleared from the buffer list.

@vibhansa-msft vibhansa-msft linked an issue Aug 22, 2024 that may be closed by this pull request
@souravgupta-msft souravgupta-msft merged commit f8d304c into feature/2.3.2 Aug 22, 2024
5 checks passed
@souravgupta-msft souravgupta-msft deleted the sourav/readBlock branch August 22, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problems with multithreaded reading/writing via block_cache
4 participants