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
Use ReferenceLookup to determine if a resource is in use #4093
Conversation
afb95b9
to
c5d08ea
Compare
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.
Found another issue - on the edit step, if cron is not run between save new revision and publish new revision, but run once after both, the datastore is dropped. If cron is run both times, it is not.
c5d08ea
to
a3a444a
Compare
…n reference processing
a3a444a
to
e252a48
Compare
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.
Made it through all the testing steps with success.
This PR modifies the MetastoreSubscriber to check for in use resources during orphan reference processing using the same approach (referenceLookup) that was already used by ResourcePurger.
QA Steps