-
Notifications
You must be signed in to change notification settings - Fork 421
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
pebble: Download can get stuck #3470
Comments
This was referenced Mar 28, 2024
Closed
Another way this can happen (which is probably more common) is an external file undergoing a
Things get stuck here. This is the LSM, with 001041 (which had a move compaction) still being external. |
This was referenced Mar 28, 2024
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Mar 28, 2024
Disable download op until cockroachdb#3470 is fixed.
RaduBerinde
added a commit
that referenced
this issue
Mar 29, 2024
Disable download op until #3470 is fixed.
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Apr 1, 2024
This commits changes the download operation to keep track of where we are in the download process and provide more clear completion guarantees. The mechanics are described in the comment for `downloadSpanTask`. We also re-enable download ops in the metamorphic test. Fixes cockroachdb#3470.
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Apr 1, 2024
This commits changes the download operation to keep track of where we are in the download process and provide more clear completion guarantees. The mechanics are described in the comment for `downloadSpanTask`. We also add events/log messages around the download operation and re-enable download ops in the metamorphic test. Fixes cockroachdb#3470.
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Apr 1, 2024
This commits changes the download operation to keep track of where we are in the download process and provide more clear completion guarantees. The mechanics are described in the comment for `downloadSpanTask`. We also add events/log messages around the download operation and re-enable download ops in the metamorphic test. Fixes cockroachdb#3470.
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Apr 3, 2024
This commits changes the download operation to keep track of where we are in the download process and provide more clear completion guarantees. The mechanics are described in the comment for `downloadSpanTask`. We also add events/log messages around the download operation and re-enable download ops in the metamorphic test. Fixes cockroachdb#3470.
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Apr 3, 2024
This commits changes the download operation to keep track of where we are in the download process and provide more clear completion guarantees. The mechanics are described in the comment for `downloadSpanTask`. We also add events/log messages around the download operation and re-enable download ops in the metamorphic test. Fixes cockroachdb#3470.
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Apr 4, 2024
This commits changes the download operation to keep track of where we are in the download process and provide more clear completion guarantees. The mechanics are described in the comment for `downloadSpanTask`. We also add events/log messages around the download operation and re-enable download ops in the metamorphic test. Fixes cockroachdb#3470.
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Apr 4, 2024
This commits changes the download operation to keep track of where we are in the download process and provide more clear completion guarantees. The mechanics are described in the comment for `downloadSpanTask`. We also add events/log messages around the download operation and re-enable download ops in the metamorphic test. Fixes cockroachdb#3470.
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Apr 4, 2024
This commits changes the download operation to keep track of where we are in the download process and provide more clear completion guarantees. The mechanics are described in the comment for `downloadSpanTask`. We also add events/log messages around the download operation and re-enable download ops in the metamorphic test. Fixes cockroachdb#3470.
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Apr 4, 2024
This commits changes the download operation to keep track of where we are in the download process and provide more clear completion guarantees. The mechanics are described in the comment for `downloadSpanTask`. We also add events/log messages around the download operation and re-enable download ops in the metamorphic test. Fixes cockroachdb#3470.
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Apr 4, 2024
This commits changes the download operation to keep track of where we are in the download process and provide more clear completion guarantees. The mechanics are described in the comment for `downloadSpanTask`. We also add events/log messages around the download operation and re-enable download ops in the metamorphic test. Fixes cockroachdb#3470.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here are logs from a meta test instance where the Download op got stuck:
The key here is the "compaction cancelled" error.
tryScheduleDownloadCompaction
tries to find an external file that isn't compacting:pebble/compaction.go
Line 1928 in 3587671
If it finds no such file, it declares the download operation completed. However, if that compaction doesn't complete - like in the case above where it gets cancelled, we will never actually download the file and
Download
ends up waiting forever.There is another problem with Download - if a download compaction is cancelled, we will pass the error up to the user instead of retrying.
The text was updated successfully, but these errors were encountered: