Repository navigation
crimson/os/seastore: fix in check_node - #51980
Conversation
|
I think we can merge this as the direct fix to unblock #51179, then scan the other places. If it is reasonable to you @xxhdx1985126 |
d845e07 to
c46e8bf
Compare
There was a problem hiding this comment.
should we include is_exist_clean() and is_existing_mutation_pending() in is_initial_pending()?
There was a problem hiding this comment.
Probably not as is_initial_pending(). But I don't see a good name to group them together.
Or use the following decision tree in the lba implementation, putting them in the else section:
- is_stable(): CLEAN_PENDING, CLEAN, DIRTY
- is_pending():
- is_mutation_pending(): MUTATION_PENDING
- else: INITIAL_WRITE_PENDING, EXIST_CLEAN, EXIST_MUTATION_PENDING
- else: !is_valid(): INVALID
What do you think?
There was a problem hiding this comment.
Or use the following decision tree in the lba implementation, putting them in the else section:
is_stable(): CLEAN_PENDING, CLEAN, DIRTY
is_pending():
- is_mutation_pending(): MUTATION_PENDING
- else: INITIAL_WRITE_PENDING, EXIST_CLEAN, EXIST_MUTATION_PENDING
else: !is_valid(): INVALID
Sorry for the late reply, I think this is fine.
There was a problem hiding this comment.
@xxhdx1985126 @cyx1231st changed the decision path in new push ~
|
Still see issues when remap/overwrite extents, might need to block this until it is complete enough to address the issue. |
c46e8bf to
b98445b
Compare
Confirmed that issues not related to this. Solved in the latest push of PR51179. |
|
jenkins test make check |
EXIST_CLEAN and EXIST_MUTATION_PENDING shuold not be treated as CLEAN in check_node because they are transaction private and the leafnode has been duplicated for write. fix: https://tracker.ceph.com/issues/61626 Signed-off-by: Xinyu Huang <[email protected]>
b98445b to
f02f20c
Compare
EXIST_CLEAN and EXIST_MUTATION_PENDING shuold not be treated as CLEAN in check_node because they are transaction private and the leafnode has been duplicated for write.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows