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

pool: separate cases for disk error and no space available #7731

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

mksahakyan
Copy link
Contributor

Motivation

when there are no avvailable space on a pool, the pool will go to DISABLED mode and no data could be read anymore.

This is wrong we still want to be able to read data from the file.

Modification

this is a temp change, trying to get the info from the eroor message, sice therer is no a specific error code,

and then based on that info separate two cases DISABLED AND READONLY

Acked-by: Tigran Mkrtchyan
Target: master. 10.2, 10.1, 10.0, 9.2
Require-book: no
Require-notes: yes
Commited:master@862963e

Motivation

when there are no avvailable space on a pool, the pool will go to DISABLED mode and no data could be read anymore.

This is wrong we still want to be able to read data from the file.

Modification

this is a temp change, trying to get the info from the eroor message, sice therer is no a specific error code,

and then based on that info separate two cases DISABLED AND READONLY

Acked-by: Tigran Mkrtchyan
Target: master. 10.2, 10.1, 10.0, 9.2
Require-book: no
Require-notes: yes
Commited:master@862963e
@mksahakyan mksahakyan merged commit 8d6ff73 into 10.0 Jan 8, 2025
2 checks passed
@mksahakyan mksahakyan deleted the fix/10.0/readonlyerror/14357 branch January 8, 2025 12:54
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.

1 participant