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

fix(ingest): refactor sync-async config, thread-safety for sink repor… #5705

Merged

Conversation

shirshanka
Copy link
Contributor

…ting

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

@shirshanka shirshanka added the ingestion PR or Issue related to the ingestion of metadata label Aug 22, 2022
Copy link
Collaborator

@hsheth2 hsheth2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -272,13 +272,13 @@ def _notify_reporters_on_ingestion_completion(self) -> None:
for reporter in self.reporters:
try:
reporter.on_completion(
status="FAILURE"
status="CANCELLED"
if self.final_status == "cancelled"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this ternary is pretty unwieldy

@github-actions
Copy link

Unit Test Results (build & test)

504 tests  ±0   504 ✔️ ±0   8m 20s ⏱️ -58s
117 suites ±0       0 💤 ±0 
117 files   ±0       0 ±0 

Results for commit 38ac85f. ± Comparison against base commit 4e2bfdd.

@github-actions
Copy link

Unit Test Results (metadata ingestion)

       8 files  ±0         8 suites  ±0   1h 15m 42s ⏱️ - 1m 19s
   651 tests ±0     647 ✔️  - 1  2 💤 ±0  2 +1 
1 302 runs  ±0  1 295 ✔️  - 1  4 💤 ±0  3 +1 

For more details on these failures, see this check.

Results for commit 38ac85f. ± Comparison against base commit 4e2bfdd.

@shirshanka shirshanka merged commit b2383ac into datahub-project:master Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants