-
Notifications
You must be signed in to change notification settings - Fork 0
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
Delete records linked to deletion markers #317
Conversation
eliotjordan
commented
Feb 14, 2025
•
edited
Loading
edited
- Delete solr documents linked to deletion markers
- Remove hydration and transformation cache entries for deleted items
Container Scanning Status: ✅ Success
|
03680e0
to
1618c68
Compare
d669c2e
to
698ed0a
Compare
af32e94
to
75a57d3
Compare
75a57d3
to
a5a71d2
Compare
Tested in staging. Deleting a test EphemeraFolder in Figgy caused the corresponding record to be removed from DPUL-C. |
1704da2
to
42feb1e
Compare
42feb1e
to
1c79dce
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.
This is really great, just a couple questions.
lib/dpul_collections/indexing_pipeline/figgy/hydration_consumer.ex
Outdated
Show resolved
Hide resolved
lib/dpul_collections/indexing_pipeline/figgy/hydration_consumer.ex
Outdated
Show resolved
Hide resolved
lib/dpul_collections/indexing_pipeline/figgy/hydration_consumer.ex
Outdated
Show resolved
Hide resolved
lib/dpul_collections/indexing_pipeline/figgy/transformation_consumer.ex
Outdated
Show resolved
Hide resolved
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.
One last thing!
handled_data: solr_doc | ||
}) | ||
end | ||
|
||
def handle_message( |
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.
Since they're so similar, it would be nice to have a comment saying why we are keeping both. I'm thinking it's so we can filter out things that aren't ephemera folders?
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.
@hackartisan I previously removed that transformation consumer function. No changes made to this file in the PR currently.
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.
weird, browser stuff I guess. Okay!