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

fix sleep workaround in checkpoint test #360

Merged
merged 1 commit into from
Aug 8, 2021
Merged

fix sleep workaround in checkpoint test #360

merged 1 commit into from
Aug 8, 2021

Conversation

houqp
Copy link
Member

@houqp houqp commented Aug 8, 2021

Description

Our file storage backend put_obj implementation is not correct because it could result in partial write being visible to readers.

This change fixes partial read for non-concurrent readers. To properly support concurrent readers, we need to write to a temp location first, then follow by an atomic rename. Filed #361 as follow up.

@houqp houqp requested review from rtyler, xianwill, mosyp and fvaleye August 8, 2021 07:35
@houqp houqp enabled auto-merge (squash) August 8, 2021 07:39
@houqp houqp merged commit b1925f2 into main Aug 8, 2021
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