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

Bug fix for updating configChanged #2900

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

vaibhav-mittal-linkedin
Copy link
Contributor

@vaibhav-mittal-linkedin vaibhav-mittal-linkedin commented Sep 23, 2024

Description
There is bug in PropertyStoreCleanUpTaskTest. The configChanged variable which we are setting is not getting updated properly. It is due to wrong use of OR operator. This PR fixes this bug.

Testing
Added updated unit tests to ensure the added fix is tested.
Test added :- I have updated DataNodeConfig with multiple disks so that we can check configChanged is updated properly and all replicas are removed from DataNodeConfig when task is running.

@vaibhav-mittal-linkedin vaibhav-mittal-linkedin marked this pull request as ready for review September 23, 2024 17:14
Copy link
Collaborator

@justinlin-linkedin justinlin-linkedin left a comment

Choose a reason for hiding this comment

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

LGTM

@vaibhav-mittal-linkedin vaibhav-mittal-linkedin merged commit f8bb6f3 into master Sep 23, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants