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
feat(restore-indices): add multithreading and add aspectName, urn filter #5712
feat(restore-indices): add multithreading and add aspectName, urn filter #5712
Conversation
datahub-upgrade/src/main/java/com/linkedin/datahub/upgrade/restoreindices/SendMAEStep.java
Outdated
Show resolved
Hide resolved
datahub-upgrade/src/main/java/com/linkedin/datahub/upgrade/restoreindices/SendMAEStep.java
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.
Nice improvements!
I'm a bit nervous about correctness given the scope of changes - have you been able to validate the behavior of this job locally?
Going to also ask that @RyanHolstien takes a pass at this since he's been getting super familiar with this job recently :)
Smoke test failure has nothing to do with this change. It seems that is broken in latest master. |
int numThreads = getThreadCount(context.parsedArgs()); | ||
long batchDelayMs = getBatchDelayMs(context.parsedArgs()); | ||
Optional<String> aspectName; | ||
if (containsKey(context.parsedArgs(), RestoreIndices.ASPECT_NAME_ARG_NAME)) { |
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.
I think we should move away from the command line arguments approach, it's less flexible than just pure ENV and requires us to modify the helm chart templates every time we add new configuration.
datahub-upgrade/src/main/java/com/linkedin/datahub/upgrade/restoreindices/SendMAEStep.java
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.
No blockers, just comments :)
Checklist