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: synchronize initialization and shutdown #635

Conversation

Kavindu-Dodan
Copy link
Collaborator

This PR

Fixes #623 by adding synchronization on init & shutdown along with initialize state variable to avoid multiple initializations and shutdowns

@Kavindu-Dodan Kavindu-Dodan requested a review from a team as a code owner January 16, 2024 20:58
@Kavindu-Dodan Kavindu-Dodan changed the title synchronize initialization and shutdown feat: synchronize initialization and shutdown Jan 16, 2024
@Kavindu-Dodan Kavindu-Dodan force-pushed the feat/flagd-concurrency-improvements branch from dd0f4be to 61a8ad7 Compare January 16, 2024 20:59
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

Very straightforward.

@Kavindu-Dodan Kavindu-Dodan force-pushed the feat/flagd-concurrency-improvements branch from 61a8ad7 to 118b7f8 Compare January 16, 2024 21:29
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
@Kavindu-Dodan Kavindu-Dodan force-pushed the feat/flagd-concurrency-improvements branch from 118b7f8 to e4b32d2 Compare January 16, 2024 21:30
@Kavindu-Dodan Kavindu-Dodan merged commit 2d98cb8 into open-feature:main Jan 17, 2024
4 checks passed
markphelps added a commit to flipt-io/java-sdk-contrib that referenced this pull request Jan 17, 2024
…java-sdk-contrib into upgrade-flipt-provider

* 'upgrade-flipt-provider' of https://github.com/flipt-io/java-sdk-contrib:
  feat: synchronize initialization and shutdown (open-feature#635)
markphelps pushed a commit to flipt-io/java-sdk-contrib that referenced this pull request Jan 19, 2024
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Signed-off-by: Mark Phelps <209477+markphelps@users.noreply.github.com>
markphelps added a commit to flipt-io/java-sdk-contrib that referenced this pull request Jan 19, 2024
…java-sdk-contrib into upgrade-flipt-provider

* 'upgrade-flipt-provider' of https://github.com/flipt-io/java-sdk-contrib:
  chore: try to fix flipt provider tests
  chore: try to rename somethings
  chore(deps): update actions/cache action to v4 (open-feature#639)
  chore: try to fix flipt provider test
  chore: try to fix flipt provider test
  feat: synchronize initialization and shutdown (open-feature#635)
  refactor(flipt): upgrade Flipt provider to use latest 1.0.0 Flipt SDK
  fix(deps): update dependency io.netty:netty-transport-native-epoll to v4.1.105.final (open-feature#634)
DBlanchard88 pushed a commit to DBlanchard88/java-sdk-contrib that referenced this pull request Apr 29, 2024
…ure#635)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

[flagd] validate race conditions of in-process provider
4 participants