Skip to content

osd: verify missing version check assert change#48088

Closed
NitzanMordhai wants to merge 1 commit intoceph:mainfrom
NitzanMordhai:wip-nitzan-verified-missing-version-check
Closed

osd: verify missing version check assert change#48088
NitzanMordhai wants to merge 1 commit intoceph:mainfrom
NitzanMordhai:wip-nitzan-verified-missing-version-check

Conversation

@NitzanMordhai
Copy link
Contributor

@NitzanMordhai NitzanMordhai commented Sep 14, 2022

Verify missing logs during read_log_and_missing will verify the missing deleted version, usually it will be MIN, but there are some cases where it will have prior version.

Fixes: https://tracker.ceph.com/issues/45702
Signed-off-by: Nitzan Mordechai nmordech@redhat.com

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@NitzanMordhai NitzanMordhai requested a review from a team as a code owner September 14, 2022 09:33
@github-actions github-actions bot added the core label Sep 14, 2022
Verify missing logs during read_log_and_missing will verify the missing
deleted version, usually it will be MIN, but there are some cases where
it will have prior version.

Fixes: https://tracker.ceph.com/issues/45702
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
@NitzanMordhai NitzanMordhai force-pushed the wip-nitzan-verified-missing-version-check branch from e847a84 to aa30873 Compare September 14, 2022 09:34
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions bot added the stale label May 30, 2023
@github-actions
Copy link

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions bot closed this Jun 29, 2023
@rzarzynski rzarzynski reopened this Aug 5, 2024
@github-actions github-actions bot removed the stale label Aug 5, 2024
@athanatos
Copy link
Contributor

@rzarzynski @NitzanMordhai Under what conditions can it be prior_verison?

@NitzanMordhai
Copy link
Contributor Author

@rzarzynski @NitzanMordhai Under what conditions can it be prior_verison?

@athanatos if I remember correctly, that happens only when debug_verify_stored_missing, and pretty rarely, the thrasher is on and when the osd starts the missing vector can have a previous version of the deleted object.

@athanatos
Copy link
Contributor

That's when the assert happens, yes. My question is how a missing item like that is created. If the item itself is a bug, than expanding the assert would be a mistake.

@NitzanMordhai
Copy link
Contributor Author

@athanatos can you please check my recent note in the tracker? https://tracker.ceph.com/issues/45702?next_issue_id=67471&prev_issue_id=54580#note-27

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions bot added the stale label Oct 10, 2024
@github-actions
Copy link

github-actions bot commented Nov 9, 2024

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions bot closed this Nov 9, 2024
@rzarzynski
Copy link
Contributor

Reopening. @athanatos, could you please see the @NitzanMordhai's #48088 (comment)?

@rzarzynski rzarzynski reopened this Mar 24, 2025
@github-actions github-actions bot removed the stale label Mar 24, 2025
@NitzanMordhai
Copy link
Contributor Author

Reopening. @athanatos, could you please see the @NitzanMordhai's #48088 (comment)?

@rzarzynski, after checking the latest incident and rethinking @athanatos's comments, I agree that my solution is not the correct one. We have another bug, and I think that I have enough to fix it. I'll close that PR and open a new one with a different solution.

@NitzanMordhai
Copy link
Contributor Author

created new PR for that issue: #62705 62705

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants