Repository navigation
Conversation
The EC primary decoded a client read around a shard that failed with EIO and only logged a warning. Now a clean PG marks the object missing on that shard and recovers it (osd_ec_repair_on_read, ec_read_repair). It is on by default, as a read repair in a replicated pool is, and only a PG with k+1 shards that the read did not find damaged repairs. A shard that finds a corrupt object info now sends no data with its EIO, because the primary asserts on an object with an error and data. Fixes: https://tracker.ceph.com/issues/82193 Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Kyle Bader <[email protected]>
Config Diff Tool Output+ added: osd_ec_repair_on_read (osd.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
5 of 14 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
The EC primary decoded a client read around a shard that failed with EIO, and only logged a warning. Now a clean PG marks the object missing on that shard and recovers it.
osd_ec_repair_on_read, turns it on. It is on by default, as read repair is in a replicated pool.ec_read_repaircounts the repairs.PendingReleaseNotesnames the option.Fixes: https://tracker.ceph.com/issues/82193
Testing
These tests pass on main 169a0fb, with the other seven P0 fixes:
test-erasure-eio.sh: the newTEST_ec_repair_on_readpasses.TestBackendBasics.cc: four newTestECFailovercases pass:MediaErrorIsReportedForRepair,MediaErrorOnThePrimaryShardIsReported,OtherReadErrorsAreNotReportedForRepairandFastReadLateMediaErrorIsReported.Checklist