Skip to content
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

Merged
merged 15 commits into from Aug 29, 2022

Conversation

anshbansal
Copy link
Collaborator

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions
Copy link

github-actions bot commented Aug 23, 2022

Unit Test Results (build & test)

504 tests  ±0   504 ✔️ ±0   8m 26s ⏱️ - 1m 4s
117 suites ±0       0 💤 ±0 
117 files   ±0       0 ±0 

Results for commit e1ba439. ± Comparison against base commit 06d29df9.

♻️ This comment has been updated with latest results.

@maggiehays maggiehays added the devops PR or Issue related to DataHub backend & deployment label Aug 23, 2022
@anshbansal anshbansal marked this pull request as draft August 26, 2022 05:29
@anshbansal anshbansal changed the title feat(upgrade): improve logging to get idea of progress feat(upgrade): add multithreading and add aspectName filter Aug 28, 2022
@anshbansal anshbansal marked this pull request as ready for review August 28, 2022 15:50
@anshbansal anshbansal changed the title feat(upgrade): add multithreading and add aspectName filter feat(upgrade): add multithreading and add aspectName, urn filter Aug 28, 2022
Copy link
Collaborator

@jjoyce0510 jjoyce0510 left a 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 :)

@anshbansal
Copy link
Collaborator Author

Smoke test failure has nothing to do with this change. It seems that is broken in latest master.

@anshbansal anshbansal changed the title feat(upgrade): add multithreading and add aspectName, urn filter feat(restore-indices): add multithreading and add aspectName, urn filter Aug 29, 2022
int numThreads = getThreadCount(context.parsedArgs());
long batchDelayMs = getBatchDelayMs(context.parsedArgs());
Optional<String> aspectName;
if (containsKey(context.parsedArgs(), RestoreIndices.ASPECT_NAME_ARG_NAME)) {
Copy link
Collaborator

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.

Copy link
Collaborator

@RyanHolstien RyanHolstien left a 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 :)

@RyanHolstien RyanHolstien merged commit 67a68b9 into datahub-project:master Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops PR or Issue related to DataHub backend & deployment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants