Repository navigation
perf(store,cli): stop reading the whole cluster to answer two narrow questions #191
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
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
365dd6d
perf(store): answer the node-scoped question with a node-scoped read
kvaps 2c31bb1
perf(cli): read the volume sizes for `resource list` in one request
kvaps 0dd8b7d
perf(cli): pick the volume-size read to match how narrow the listing is
kvaps 6de2cb9
fix(store): key ListAll so a caller with the replica's spelling finds it
kvaps d46e1fd
fix(store): register the field indexes the scoped reads need
kvaps 26b8584
fix(store): find the storage pools on a node that were applied by hand
kvaps d8d5415
perf(cli): answer the node commands with the node-scoped read
kvaps 5f5528a
style(store): satisfy the linters on the scoped-read work
kvaps f3c387c
fix(store): tie the field indexes to the manager, and the fallback to…
kvaps 89e9a8a
fix(store): find the snapshots of a definition that were adopted with…
kvaps 463def9
fix(cli): degrade per definition, and count what node delete reads
kvaps e13e0c3
fix(store): decide a node's fate on a read the cache cannot be behind on
kvaps 55d4025
fix(store): surface a failed parent read instead of listing without it
kvaps 3e9be40
test(integration): read what `node lost` answered instead of assuming…
kvaps 3b4db2e
fix(store): read the status a node's fate turns on from the API server
kvaps c9ecaec
fix(cli): stop answering a refused bulk read with N refused reads
kvaps 4f6fa1a
docs(cli): name the input the bulk-read cutoff does not have
kvaps 278b9cd
docs(store): say where FoldName's equality stops
kvaps b5611e0
test(harness): make a simulated-offline node offline in the way the c…
kvaps cc4c86a
fix(store): build every manager-backed store the same way
kvaps d50ad9e
fix(rest): say when the orphan-snapshot sweep did not run
kvaps 6172eb2
fix(cli): treat a throttled server as the budget case it is
kvaps 68cf497
chore(store): keep the conformance suite under the complexity budget
kvaps 9dd8240
fix(store): make the manager, its indexes and its store one call
kvaps f17b917
perf(cli): answer a narrowed resource list with the scoped read
kvaps 8afecc2
fix(store): hold the remaining node and snapshot reads to the same rule
kvaps 055ad10
style(apiserver): gofmt after dropping the separate store construction
kvaps 8fc9fa2
fix(cli): list every replica a narrowed filter matches
kvaps 266216d
fix(store): keep the uncached snapshot read uncached when it falls back
kvaps 27475be
fix(store): ask a node's objects under the spelling it is registered as
kvaps 0996147
test(store): close the wiring guard's skip list and helper escape
kvaps 40fc53a
fix(store): build the manager without asking the API server anything
kvaps b9234dd
style(store): satisfy the linters on the round's store changes
kvaps 47bcfff
Revert "fix(store): build the manager without asking the API server a…
kvaps ff18809
fix(store): wait for the API server while registering the indexes
kvaps 29daa1c
test(store,cli): isolate the three terms no fixture discriminated
kvaps eabf5d8
fix(store): end the index registration wait before liveness kills
kvaps 945af86
refactor(store): index only the fields the cache is asked for
kvaps 3aca5d4
fix(rest): re-walk a node delete under the spellings seen before it
kvaps 1efb936
style(rest): satisfy the linters on the node delete spelling change
kvaps 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
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[MINOR] spec.resourceDefinitionName is declared selectable and nothing selects on it
The only
MatchingFieldsin the tree isspec.nodeName.ListByDefinitiondeliberately scans (pkg/store/k8s/resources.go:105-127) because the label selector was Bug 038, and a field selector would not have that problem, so the declaration reads like an intended follow-up that did not land. A selectable field is close to permanent once shipped, since a client may start relying on it. Either wireListByDefinitionto it in this PR or drop the marker until something uses it.