-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[stats] lazyinit ClusterInfo::trafficStats() #23921
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
jmarantz
merged 145 commits into
envoyproxy:main
from
stevenzzzz:lazy-init-cluster-upstream-stats
Jun 27, 2023
Merged
Changes from 8 commits
Commits
Show all changes
145 commits
Select commit
Hold shift + click to select a range
230b570
subgroup cluster config update stats so that later we can lazy init o…
stevenzzzz 4c1a076
add missing init
stevenzzzz aba2717
Merge branch 'main' into subgroup-cluster-stats
stevenzzzz 9b51c85
Merge branch 'main' into subgroup-cluster-stats
stevenzzzz e370c84
add more comments
stevenzzzz 2a45ccf
Subgroup cluster stats() into lb-stats, endpoint-stats, config-update…
stevenzzzz eebc322
fix failing tests
stevenzzzz 8d3f6bd
format
stevenzzzz 2aed8eb
renamings
stevenzzzz 1c039f6
more renamings
stevenzzzz 96662a9
revert the renaming stats_ --> lb_stats_ in lb tests
stevenzzzz b4cb848
merge with main
stevenzzzz fc425ca
fix merge error
stevenzzzz 4b5536d
merge with main
stevenzzzz 7214c3b
resovle one million conflicts
stevenzzzz a20e235
resolve more merge conflicts
stevenzzzz d9f8f03
fix format
stevenzzzz f367929
resolve more merge conflicts
stevenzzzz 1901847
resolve more merge conflicts
stevenzzzz db04639
remove unused method
stevenzzzz a4d993f
fix typos
stevenzzzz 73b5141
fix Josh comments
stevenzzzz 505104e
ove stats::lazyInit to source/...
stevenzzzz 53b0a20
ove stats::lazyInit to source/...
stevenzzzz 7bd6b96
move stats::lazyInit to source/...
stevenzzzz 56ccf5a
format fix for stats/lazy_init.h
stevenzzzz 0a0e1e0
fixes for Joshua comments
stevenzzzz 385a47d
fix unused warning
stevenzzzz 8a9b2b8
change to Envoy style unused parameter macro
stevenzzzz 229006e
remove the unused var that captures the returned stats obj
stevenzzzz 49056da
add performance tests
stevenzzzz 359ca2a
add performance tests source file
stevenzzzz e4dc4e1
remove debugging lines, add more test args
stevenzzzz f40a716
upload with some simplification
stevenzzzz 9eba33c
add more benchmark, adjust the creation-on-worker test
stevenzzzz c9da4f3
fix format
stevenzzzz b29c422
fix bug in benchmark
stevenzzzz 1c0fbea
fix josh comments
stevenzzzz f36ffc0
merge with upstream main
stevenzzzz 0587cf4
fix format
stevenzzzz 5b2ea43
remove the largest scale as it takes a long time
stevenzzzz c7f120e
fix spelling errors
stevenzzzz 56cf103
fix format check error, not sure why Envoy does not like atomic_int
stevenzzzz 58ab4d8
more comments adjustments
stevenzzzz 9b9962f
remove the move, shared_ptr is light weight enough to copy around
stevenzzzz 4d3ed73
refactor lazyini speed test
stevenzzzz 55e8947
merge with main
stevenzzzz 19386ba
add runtime-flag
stevenzzzz e94d69e
inline the method
stevenzzzz ceb5f23
add TODO for ctor_ cleanup
stevenzzzz ce96feb
Merge branch 'main' into lazy-init-cluster-upstream-stats
stevenzzzz 2923d2b
fix bug in destruction order, add missing build rule so that CI runs …
stevenzzzz 53d7498
deflaky benchmark test
stevenzzzz 3d01fe3
remove the largest scale so that the test doesn't timeout.
stevenzzzz 0774ce8
remove the largest scale so that the test doesn't timeout.
stevenzzzz d249fd5
add back the larger scale
stevenzzzz 67d75e2
fix format test/common/stats/BUILD
stevenzzzz ed5af28
save some temp work
stevenzzzz 1c50e6e
merge with main
stevenzzzz efb2ab6
some merge issue
stevenzzzz bd13097
vscode very slow on saving
stevenzzzz a9627e8
Make cds_integration_test.cc parameterized on stats-lazyinit, revert …
stevenzzzz 24a9e33
add lazyinit trafficStats CDS integration test
stevenzzzz 988d83b
fix failing integration test
stevenzzzz d48e0f5
merge with main
stevenzzzz 3b74ba9
adjust how racing removed between testing and Envoy threads.
stevenzzzz 9083ede
again adjust how racing removed between testing and Envoy threads.
stevenzzzz 6c8b41a
fixes for joshua comments
stevenzzzz b2a7b12
demonstrate that cluster update lose current stats if not checking th…
stevenzzzz c46e22f
revert the demonstration
stevenzzzz 4e9c102
add another test on cluster stats for cluster create-destroy-recreate
stevenzzzz 11c7b44
add one more tests around stats update
stevenzzzz de935dc
fix sync issues
stevenzzzz 3becaf9
merge with upstream main
stevenzzzz b23b659
spelling errors fix
stevenzzzz c503108
fix comments
stevenzzzz f210a74
fix comments
stevenzzzz 2830373
update doc.
stevenzzzz 24fb842
merge with upstream main
stevenzzzz 4416b0e
fix sync
stevenzzzz a2454c1
fix sync 2
stevenzzzz 895d8c5
remove the Stats::
stevenzzzz 9097fbe
revert the unintended code change
stevenzzzz 98fa391
fix josh comments
stevenzzzz efc2c40
Merge branch 'main' into lazy-init-cluster-upstream-stats
stevenzzzz f004644
fix merge issues
stevenzzzz 43e292f
of course need to fix formatting in another commit
stevenzzzz 8962752
Merge branch 'main' into lazy-init-cluster-upstream-stats
stevenzzzz 7570a6a
save
stevenzzzz bbc8544
add a sugar wrapper to resolve the two-layered indrection for LazyCom…
stevenzzzz 350ac35
fix_format on source/common/upstream/upstream_impl.h
stevenzzzz 4dbfd2d
Merge branch 'main' into lazy-init-cluster-upstream-stats
stevenzzzz b1a497b
merge with upstream main
stevenzzzz c624ab9
make a copy of ClusterTrafficStats definition in lazyinit_stats_speed…
stevenzzzz 0a96db9
joshua comments
stevenzzzz a0e7f35
spellings
stevenzzzz 10f48eb
fix Joshua comments
stevenzzzz 91de71c
revert unintentional deletion in dict.txt
stevenzzzz 9d72f38
fix format errors
stevenzzzz 672ab39
fixes for Joshua comments
stevenzzzz afeda1b
vscode remote repo is slower than git-terminal on saving
stevenzzzz 486f8dc
Merge branch 'main' into lazy-init-cluster-upstream-stats
stevenzzzz 0b38e5c
fix josh comments
stevenzzzz ac3d927
add unit test, and adjust how ctor_ in LazyInit is deleted
stevenzzzz f2b1a9b
fix for josh
stevenzzzz bae41bf
Merge branch 'main' into lazy-init-cluster-upstream-stats
stevenzzzz e2da82f
add more unit tests
stevenzzzz 51a0a7f
adjust tests and add comments in lazyinit_stats_test
stevenzzzz 0e84bee
add one more test
stevenzzzz 015efb5
save
stevenzzzz c644062
add non-lazy tests in cds_integration_test
stevenzzzz f64674f
merge with upstream main
stevenzzzz 5734d86
fix comments from josh
stevenzzzz fe40f03
fix CI errors
stevenzzzz 5ae7ade
fix CI again: typo
stevenzzzz 96aac87
fix doc CI error around indentation
stevenzzzz 09c2548
ahh, fix tsan error
stevenzzzz 702cddf
remove Envoy:: from Envoy::Cleanup
stevenzzzz f6d768b
fix case pointed out by Yury
stevenzzzz bece44a
adjust the scales in stats/lazyinit_stats_speed_test
stevenzzzz 6d6a6b5
Merge branch 'main' into lazy-init-cluster-upstream-stats
stevenzzzz 599b80b
skip expensive benchmark in lazyinit_stats_speed_test
stevenzzzz ad0c574
Merge branch 'main' into lazy-init-cluster-upstream-stats
stevenzzzz 6b2e242
fix format error in sections not added by me
stevenzzzz 5a505c3
merge with upstream main
stevenzzzz 13b857f
fixes for Greg comments
stevenzzzz c292a7c
remove unwanted dict item
stevenzzzz 3260c03
merge with main
stevenzzzz 0aa105c
typos, fix-format
stevenzzzz d4233bd
fix josh comments
stevenzzzz a705e5e
add newline at end of file
stevenzzzz cb35d0b
more ==
stevenzzzz a1c27f6
refactor deferred_creation.h to remove the header
stevenzzzz 0cd5310
revert more dep changes
stevenzzzz f92b25c
revert some of the reverts
stevenzzzz 0f6fa2c
more header removal
stevenzzzz d460779
revert b/source/common/router/BUILD
stevenzzzz b1dd791
fix josh comments
stevenzzzz a648867
remove the supposedly deleted dep not synced to repo
stevenzzzz 4b294f7
merge with upstream main
stevenzzzz 35165b0
fix format and nits
stevenzzzz 0745231
remove blank line
stevenzzzz b52578b
fix the naming s/deferred_creation/defer_creation/
stevenzzzz 88d5a63
Merge branch 'main' into lazy-init-cluster-upstream-stats
stevenzzzz 505bb18
add change log
stevenzzzz 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.
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.