-
Notifications
You must be signed in to change notification settings - Fork 92
feat: cache autoconfig in store, init from store #593
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
Open
LD-Sfalzon
wants to merge
33
commits into
launchdarkly:v8
Choose a base branch
from
LD-Sfalzon:feature/autoconfig-cache-init-from-store
base: v8
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
819410b
fix: set explicit timeout for big segment revisions poll to avoid cli…
LD-Sfalzon 2d4ceb8
drop timeout period
keelerm84 f6a7f7e
Merge origin/v8 into feature/autoconfig-cache-init-from-store
LD-Sfalzon ad86ae2
feat: AutoConfig cache with initFromStoreFirst for Redis/DynamoDB
LD-Sfalzon bebbf96
fix: seed StreamManager from cache so first PUT applies updates and d…
LD-Sfalzon f0833ab
fix: AutoConfig cache cleanup and validation
LD-Sfalzon 25679e1
fix: apply Redis TLS config in AutoConfig cache store
LD-Sfalzon ce95e31
refactor: rework AutoConfig cache to per-item storage
keelerm84 42cc63c
Merge branch 'v8' into feature/autoconfig-cache-init-from-store
keelerm84 87469ec
go fmt
keelerm84 ab85c75
refactor: internalize cache into StreamManager with noop null object
keelerm84 47f3ea9
simplify: accept any string as cache encryption key
keelerm84 4f7cf4d
simplify: use cacheKey directly without ld:autoconfig prefix
keelerm84 1bebdad
fix lint issue
keelerm84 3aa02c5
fix: remove Redis ping check from cache store construction
keelerm84 9c262b9
fix: continue DynamoDB batch writes on partial failure
keelerm84 e829bd2
feat: cache PATCH and DELETE events, not just PUTs
keelerm84 2762a87
gofmt
keelerm84 c900087
simplify: remove InitFromStoreFirst, CacheKey implies the feature
keelerm84 a7cd71f
fix: don't rewrite cache on startup by marking PutContent persistence
keelerm84 28ee728
feat: wrap cached items in a versioned envelope
keelerm84 6bab65d
feat: add cancellable context lifecycle to cache stores
keelerm84 92f613f
feat: race cache read against stream connection
keelerm84 f6ded73
gofmt
keelerm84 2fa74ef
lint issues
keelerm84 f72a2c1
address code review feedback
keelerm84 708622f
update cache cancel
keelerm84 2c5bd52
more feedback
keelerm84 32c54ff
fix nolint directive
keelerm84 ff10ebc
close on halt
keelerm84 975eec1
fix doc
keelerm84 b450cc7
allow cache to finish even if stream errs out
keelerm84 aa72bf4
ensure cache goroutine is cancelled
keelerm84 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.