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

DG1924: Param changes in task vertex for add tags propagation to increase observability. #3878

Open
wants to merge 7 commits into
base: beta
Choose a base branch
from

Conversation

abhijeet-atlan
Copy link

@abhijeet-atlan abhijeet-atlan commented Dec 11, 2024

Change description

This PR contains changes for DG-1924 that:

  1. adds assetsCountToPropagate and assetsCountPropagated initialised with 0 in the task vertex when a task is created.
  2. updates assetsCountToPropagate with the value of propagation once impacted vertices calculation is finished.
  3. increments assetsCountPropagated in chunks of 100 as the task progresses (in case of tasks less than 100 its updated in one go.)
image image image image

Type of change

  • Bug fix (fixes an issue)
  • New feature (adds functionality)

Code review

  • Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
  • "Ready for review" label attached and reviewers assigned
  • Changes have been reviewed by at least one other contributor
  • Pull request linked to task tracker where applicable

This commit streamlines the handling of asset propagation counts across task-related classes by removing outdated configurations and simplifications in the code:

- **Constants.java**: Removed the 'MODIFICATION_TASK_ASSET_COUNT_TO_PROPAGATE_PROPERTY_KEY', eliminating the configuration property for asset count thresholds.

- **AtlasTask.java**: Deleted the 'incrementAssetCountPropagated' method to reduce manual asset count manipulations.

- **ClassificationTask.java & MeaningsTask.java**: Removed methods setting asset counts to propagate, simplifying task executions.

- **AtlasTaskService.java**: Updated task initialization to set asset counts to zero, aligning with the new simplified approach.

- **TaskRegistry.java**: Removed an unnecessary sleep operation from the task update process.
.github/workflows/maven.yml Show resolved Hide resolved
Copy link
Collaborator

@hr2904 hr2904 left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants