Skip to content

Conversation

mikecdavis
Copy link
Contributor

Summary

  • Trigger the UpdateConfigNotification after resolving the countdownlatch.

Since notifications are triggered synchronously in the calling thread, there was potential to unnecessarily block until the timeout if the notification listener was also calling .getConfig()

Test plan

Unit test was added to confirm the issue, then validate the solution.

@coveralls
Copy link

coveralls commented Jun 21, 2019

Pull Request Test Coverage Report for Build 1107

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 89.719%

Totals Coverage Status
Change from base Build 1101: 0.0%
Covered Lines: 3412
Relevant Lines: 3803

💛 - Coveralls

Copy link
Contributor

@msohailhussain msohailhussain left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@aliabbasrizvi aliabbasrizvi left a comment

Choose a reason for hiding this comment

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

LGTM

@mikecdavis mikecdavis merged commit 43d7600 into master Jun 26, 2019
@mikecdavis mikecdavis deleted the mikecdavis/OASIS-4934-fix-deadlock branch June 26, 2019 16:41
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.

5 participants