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

Modify the archive manager so that atomic updates of the configuration archive work correctly. #281

Merged
merged 7 commits into from
Jan 16, 2024

Conversation

gmckerrell
Copy link
Contributor

@gmckerrell gmckerrell commented Jan 3, 2024

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues
#280

Describe the solution you've provided
Rather than use nsnotify to watch the explicit configuration file, we monitor the parent directory which means both slow-copy and atomic update semantics both work as expected.

Describe alternatives you've considered
In our current use case we have deferred to slow-copy semantics rather than atomic updates.

@gmckerrell gmckerrell requested a review from a team January 3, 2024 12:13
@louis-launchdarkly
Copy link
Contributor

Hello @gmckerrell, thank you for your contribution and explanation. We will test the change and will update you after that.

Filed internally as 228550.

@cwaldren-ld cwaldren-ld changed the base branch from v8 to contrib January 16, 2024 23:46
@cwaldren-ld cwaldren-ld changed the base branch from contrib to v8 January 16, 2024 23:46
@cwaldren-ld cwaldren-ld changed the base branch from v8 to contrib January 16, 2024 23:47
@cwaldren-ld
Copy link
Contributor

Hi @gmckerrell, thanks again. I will merge this now and the next Relay v7/v8 releases should have the changes.

@cwaldren-ld cwaldren-ld merged commit e2b0f17 into launchdarkly:contrib Jan 16, 2024
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.

3 participants