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(iroh-blobs): do not skip empty partial blobs in migration #2604

Merged

Conversation

divagant-martian
Copy link
Contributor

@divagant-martian divagant-martian commented Aug 8, 2024

Description

When a blob found during migration is missing an outboard, according to the
cli_bao_store_migration test, we should still migrate it. Before this change
the blob would be ignored. This makes the test no longer broken.

Breaking Changes

n/a

Notes & open questions

  1. I can reproduce the failure 100% of the time, so before this change I consider the test broken, not flaky.
  2. I reproduced the failure by running an iroh node with the exact v0 data the test uses. After the change, I did this again, and also ran both validate and consistency-check and got no errors.

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@divagant-martian divagant-martian linked an issue Aug 8, 2024 that may be closed by this pull request
@divagant-martian divagant-martian changed the title fix(iroh-blobs): do not skip partial blobs without outboard fix(iroh-blobs): do not skip empty partial blobs in migration Aug 8, 2024
@divagant-martian divagant-martian added this pull request to the merge queue Aug 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 8, 2024
@divagant-martian divagant-martian added this pull request to the merge queue Aug 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 8, 2024
@divagant-martian divagant-martian added this pull request to the merge queue Aug 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 8, 2024
@divagant-martian divagant-martian added this pull request to the merge queue Aug 8, 2024
github-merge-queue bot pushed a commit that referenced this pull request Aug 8, 2024
## Description

When a blob found during migration is missing an outboard, according to
the
`cli_bao_store_migration` test, we should still migrate it. Before this
change
the blob would be ignored. This makes the test no longer broken.

## Breaking Changes

n/a

## Notes & open questions

1. I can reproduce the failure 100% of the time, so before this change
**I consider the test broken, not flaky.**
2. I reproduced the failure by running an iroh node with the exact v0
data the test uses. After the change, I did this again, and also ran
both `validate` and `consistency-check` and got no errors.

## Change checklist

- [x] Self-review.
- [ ] ~~Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.~~
- [ ] ~~Tests if relevant.~~
- [ ] ~~All breaking changes documented.~~
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 8, 2024
@divagant-martian divagant-martian added this pull request to the merge queue Aug 9, 2024
Merged via the queue into n0-computer:main with commit 1c86dac Aug 9, 2024
32 checks passed
@divagant-martian divagant-martian deleted the fix-bao-store-migration branch August 9, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

cli_bao_store_migration is flaky
2 participants