-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
[BUGFIX] Ensure record exists before asserting if draft #3532
Conversation
The fix is maybe not the good one, as it can hide the real issue: why the record was not found? |
Did you find out why it was so on your system? |
I just added some information how to reproduce it in #3531: It happens if a record is deleted. |
I'm also not exactly sure why an already deleted record gets processed by the RecordMonitor or the GarbageCollector, but as draft records will be ignored anyway it should be safe to fix this issue that way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@dogawaf Thanks for providing a pr, I'll do a backport to 11.5. |
What this pr does
This fix an error in case a record was not found in the garbage collector process.
Fixes: #3531