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

feat(rebuild): adding rebuild I/O verification #1459

Merged
merged 4 commits into from
Aug 16, 2023

Conversation

dsavitskiy
Copy link
Contributor

No description provided.

@dsavitskiy
Copy link
Contributor Author

bors try

bors bot pushed a commit that referenced this pull request Jul 19, 2023
@bors
Copy link
Contributor

bors bot commented Jul 19, 2023

try

Build failed:

@dsavitskiy
Copy link
Contributor Author

bors try

bors bot pushed a commit that referenced this pull request Jul 19, 2023
@bors
Copy link
Contributor

bors bot commented Jul 19, 2023

try

Build failed:

@dsavitskiy
Copy link
Contributor Author

bors try

bors bot pushed a commit that referenced this pull request Jul 20, 2023
@bors
Copy link
Contributor

bors bot commented Jul 20, 2023

try

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

Jenkinsfile Outdated Show resolved Hide resolved
io-engine/src/core/block_device.rs Outdated Show resolved Hide resolved
io-engine/src/rebuild/rebuild_task.rs Outdated Show resolved Hide resolved
@dsavitskiy
Copy link
Contributor Author

bors try

bors bot pushed a commit that referenced this pull request Jul 28, 2023
@bors
Copy link
Contributor

bors bot commented Jul 28, 2023

try

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@dsavitskiy
Copy link
Contributor Author

bors try

bors bot pushed a commit that referenced this pull request Jul 30, 2023
@bors
Copy link
Contributor

bors bot commented Jul 30, 2023

try

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@dsavitskiy
Copy link
Contributor Author

bors try

bors bot pushed a commit that referenced this pull request Jul 30, 2023
@bors
Copy link
Contributor

bors bot commented Jul 30, 2023

try

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors
Copy link
Contributor

bors bot commented Aug 1, 2023

try

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@dsavitskiy
Copy link
Contributor Author

bors merge

bors bot pushed a commit that referenced this pull request Aug 15, 2023
1459: feat(rebuild): adding rebuild I/O verification r=dsavitskiy a=dsavitskiy



Co-authored-by: Dmitry Savitskiy <[email protected]>
@bors
Copy link
Contributor

bors bot commented Aug 15, 2023

Build failed:

Changes to `BlockDeviceHandle` trait:
* `readv_blocks` and `writev_blocks` now accept `IoVec` slice instead of
  C-array of iovs and its length.
* `ReadOptions` argument is now passed to `readv_blocks` instead of `read_at`.
* New async methods added:
  - `readv_blocks_async`
  - `read_buf_blocks_async`
  - `writev_blocks_async`
  - `write_buf_blocks_async`
  These methods have default implementions in `BlockDeviceHandle`, based on
  `readv_blocks` and `writev_blocks` calls.
* `read_at` and `write_at` are now deprecated.

Rebuild task is changed to use `BlockDeviceHandle` methods.

Signed-off-by: Dmitry Savitskiy <[email protected]>
Fault injections moved from nexus to core.
Support for block-device level injection added.
New 'testing' gRPC service added.
Injections removed from v0 API.
CLI is changed accordingly.

Signed-off-by: Dmitry Savitskiy <[email protected]>
At this moment rebuild verification is controlled via NEXUS_REBUILD_VERIFY
shell var:
- "fail": rebuild job fails if verification fails
- "panic": I/O engine panics if verification fails
- any other value or not set: do no verify

Signed-off-by: Dmitry Savitskiy <[email protected]>
@dsavitskiy
Copy link
Contributor Author

bors merge

@bors
Copy link
Contributor

bors bot commented Aug 15, 2023

🕐 Waiting for PR status (GitHub check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set.

bors bot pushed a commit that referenced this pull request Aug 15, 2023
1459: feat(rebuild): adding rebuild I/O verification r=dsavitskiy a=dsavitskiy



Co-authored-by: Dmitry Savitskiy <[email protected]>
@bors
Copy link
Contributor

bors bot commented Aug 15, 2023

This PR was included in a batch that successfully built, but then failed to merge into develop. It will not be retried.

Additional information:

Response status code: 422
{"message":"All comments must be resolved.","documentation_url":"https://docs.github.com/articles/about-protected-branches"}

@dsavitskiy
Copy link
Contributor Author

bors merge

bors bot pushed a commit that referenced this pull request Aug 15, 2023
1459: feat(rebuild): adding rebuild I/O verification r=dsavitskiy a=dsavitskiy



Co-authored-by: Dmitry Savitskiy <[email protected]>
@dsavitskiy
Copy link
Contributor Author

bors merge

@bors
Copy link
Contributor

bors bot commented Aug 15, 2023

Already running a review

@bors
Copy link
Contributor

bors bot commented Aug 15, 2023

This PR was included in a batch that successfully built, but then failed to merge into develop. It will not be retried.

Additional information:

Response status code: 422
{"message":"All comments must be resolved.","documentation_url":"https://docs.github.com/articles/about-protected-branches"}

@dsavitskiy
Copy link
Contributor Author

bors merge

@bors
Copy link
Contributor

bors bot commented Aug 16, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 47d0450 into openebs:develop Aug 16, 2023
3 checks passed
@dsavitskiy dsavitskiy deleted the feature/rebuild-verify branch August 16, 2023 08:55
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.

3 participants