You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2024. It is now read-only.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It might be possible that in degraded mode we may land up in a situation
where there are more than K failures and read_verify_is not true. In this
case, ideally, we should return proper error code (-EIO) instead of assert.
Problem
It might be possible that in degraded mode we may land up in a situation
where there are more than K failures and read_verify_is not true.
Design
In this case, ideally, we should return proper error code (-EIO) instead of assert.
Coding
Checklist for Author
Coding conventions are followed and code is consistent
Testing
Checklist for Author
Unit and System Tests are added
Test Cases cover Happy Path, Non-Happy Path and Scalability
Testing was performed with RPM
Impact Analysis
Checklist for Author/Reviewer/GateKeeper
Interface change (if any) are documented
Side effects on other features (deployment/upgrade)
Dependencies on other component(s)
Review Checklist
Checklist for Author
JIRA number/GitHub Issue added to PR
PR is self reviewed
Jira and state/status is updated and JIRA is updated with PR link
Check if the description is clear and explained
Documentation
Checklist for Author
Changes done to WIKI / Confluence page / Quick Start Guide
This issue/pull request has been marked as needs attention as it has been left pending without new activity for 4 days. Tagging @nkommuri@mehjoshi@huanghua78 for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.
andriytk
changed the title
CORTX-33577: Fixed panic in degraded read, replaced assert with error…
CORTX-33577: fix panic in degraded mode read
Jul 12, 2022
This issue/pull request has been marked as needs attention as it has been left pending without new activity for 4 days. Tagging @nkommuri@mehjoshi@huanghua78 for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.
… code
* It might possible that in degraded mode we may land up in a situation
where there are more than K failure and read_verify_is not true. In this
case ideally, we should return proper error code (-EIO) instead of assert.
Signed-off-by: Yatin Mahajan <yatin.mahajan@seagate.com>
Problem:
It might be possible that in degraded mode we may land up in a situation
where there are more than K failure and read_verify_is not true. In this
case ideally, we should return proper error code (-EIO) instead of assert.
Solution:
Fixed panic in degraded read, replaced assert with error code.
Signed-off-by: Yatin Mahajan <yatin.mahajan@seagate.com>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It might be possible that in degraded mode we may land up in a situation
where there are more than K failures and read_verify_is not true. In this
case, ideally, we should return proper error code (-EIO) instead of assert.
Problem
It might be possible that in degraded mode we may land up in a situation
where there are more than K failures and read_verify_is not true.
Design
In this case, ideally, we should return proper error code (-EIO) instead of assert.
Coding
Checklist for Author
Testing
Checklist for Author
Impact Analysis
Checklist for Author/Reviewer/GateKeeper
Review Checklist
Checklist for Author
Documentation
Checklist for Author