donnadionne
2bb20d25a4
Revert "ring_hash LB policy implementation ( #26285 )" ( #26303 )
...
This reverts commit c55c7c065e
.
4 years ago
donnadionne
c55c7c065e
ring_hash LB policy implementation ( #26285 )
...
* ring_hash LB policy (#25697 )
* Ring Hash Policy implementation
* Code review comment fixing
* Fixing code review comments.
* Code review comment fixing
* Fixing reconnect logic
* adding helper method for pick
* Holding on to ref to parent
* first attempt at calling AttemptToConnect
* Fixing state change
* Fixing code review comments
* Fixing the reconnect from channel watcher code
* Fixing the BUILD to include new policy
* Fixing major code review suggestion
* Fixing code review comments
* Fixing code review suggestions
* Initial 2 tests.
* Adding channel id case.
* Fixing code review comments.
* Small change to get the spread of backends
* Add header hashing tests
* Added more tests and debugging
* Fixing Header hash
* Added more tests
* cleanup
* removing debugs
* Fixing code review comments.
* code review fixing
* combining code and match design
* fixing code review comments.
* Fixed IDLE case
* Moving tests
* Fixing code review comments
* Adding more tests according to code review comments.
* Added tests with differetn types of weights
* Adding terminal policy case
* Remove hash_func as there is only 1
* Added nack invalid hash function
* Added NACK cases
* fixing build error
* fixing build
* small warning
* adding regex test
* Adding policy tests
* fixing warning
* fixing warning
* fixing code reivew comments.
* fixing IDLE case
* Code review comments.
* fixing code review comments
* Making a helper function
* fixing reattempt case
* Added afew more tests.
* Adding more tests
* Added backward compatible test
* FIxing the reattempt test
* Clean up
* fixing clang error
* fixing clang error
* Fix logic discovered during code review
* code review comments
* code review comments
* code review comment
* clean up tests
* fixing code review comments
* clean up tests
* Separated test
* Fixing test
* fixing test
* fixing clang error
* Addressing code review suggestions
* Fixing last bit of code review comments
* Fixing flaky tests
* Fixing last bit of code review comments
* clean debugs
* Remove a verbose log
* Relaxing deadline exceeded for 1st RPC until ring is optimized.
Making Hash more efficient for random case.
4 years ago
donnadionne
f36a31b6aa
Revert "ring_hash LB policy ( #25697 )" ( #26238 )
...
This reverts commit 2aefb26f5d
.
4 years ago
donnadionne
2aefb26f5d
ring_hash LB policy ( #25697 )
...
* Ring Hash Policy implementation
* Code review comment fixing
* Fixing code review comments.
* Code review comment fixing
* Fixing reconnect logic
* adding helper method for pick
* Holding on to ref to parent
* first attempt at calling AttemptToConnect
* Fixing state change
* Fixing code review comments
* Fixing the reconnect from channel watcher code
* Fixing the BUILD to include new policy
* Fixing major code review suggestion
* Fixing code review comments
* Fixing code review suggestions
* Initial 2 tests.
* Adding channel id case.
* Fixing code review comments.
* Small change to get the spread of backends
* Add header hashing tests
* Added more tests and debugging
* Fixing Header hash
* Added more tests
* cleanup
* removing debugs
* Fixing code review comments.
* code review fixing
* combining code and match design
* fixing code review comments.
* Fixed IDLE case
* Moving tests
* Fixing code review comments
* Adding more tests according to code review comments.
* Added tests with differetn types of weights
* Adding terminal policy case
* Remove hash_func as there is only 1
* Added nack invalid hash function
* Added NACK cases
* fixing build error
* fixing build
* small warning
* adding regex test
* Adding policy tests
* fixing warning
* fixing warning
* fixing code reivew comments.
* fixing IDLE case
* Code review comments.
* fixing code review comments
* Making a helper function
* fixing reattempt case
* Added afew more tests.
* Adding more tests
* Added backward compatible test
* FIxing the reattempt test
* Clean up
* fixing clang error
* fixing clang error
* Fix logic discovered during code review
* code review comments
* code review comments
* code review comment
* clean up tests
* fixing code review comments
* clean up tests
* Separated test
* Fixing test
* fixing test
* fixing clang error
* Addressing code review suggestions
* Fixing last bit of code review comments
* Fixing flaky tests
* Fixing last bit of code review comments
* clean debugs
* Remove a verbose log
4 years ago
Mark D. Roth
4c40ee3f78
move parse_address and sockaddr_utils out of iomgr directory ( #26077 )
...
* move parse_address and sockaddr_utils out of iomgr directory
* clang-format
* fix python
* fix for import
* fix build file for import
4 years ago
Ashitha Santhosh
457fd3d41c
RBAC Engine implementation. ( #25948 )
4 years ago
Esun Kim
2d8936b097
Added status_helper ( #25901 )
...
Added status_util
4 years ago
Ashitha Santhosh
628bf7fe08
RBAC engine matchers implementation. ( #25997 )
4 years ago
Lidi Zheng
735c7047aa
[C++] Add admin and reflection to xds interop binaries ( #25964 )
...
* Add admin and reflection to xds interop binaries
* Prepare for https://github.com/grpc/grpc/pull/25978
* Remove _xds rules
4 years ago
Ashitha Santhosh
e438fa609b
Separate connection specific args in EvaluaetArgs. ( #25969 )
4 years ago
Yash Tibrewal
23152e74ce
Enable channelz for xds_interop_client and xds_interop_server ( #25939 )
...
* Enable channelz for xds_interop_client and xds_interop_server
* Regenerate projects
4 years ago
Ashitha Santhosh
8489a6050b
Revert "Rbac Matcher implementation. ( #25653 )" ( #25957 )
...
This reverts commit 1fb4f715db
.
4 years ago
Mark D. Roth
d017ce5f25
Cancel retry timer on call cancellation ( #25890 )
4 years ago
Ashitha Santhosh
1fb4f715db
Rbac Matcher implementation. ( #25653 )
4 years ago
AJ Heller
4c59b17d40
Remove eventmanager_libuv code ( #25811 )
...
Reintroduces this code removal after a failed import. This needed special handling via cherry pick.
4 years ago
AJ Heller
a63f188153
Add conversion method for absl::Status to grpc_error* ( #25896 )
4 years ago
AJ Heller
03adef1d3c
Move platform-specific sockaddr logic out of port_platform for EventEngine ( #25886 )
4 years ago
AJ Heller
4d4ee609c1
gRPC EventEngine Interface ( #25795 )
4 years ago
Mark D. Roth
21e25a03d0
Don't retry when LB policy drops the call ( #25846 )
4 years ago
Mark D. Roth
3f19333ced
Move retry code into its own filter in the DynamicFilter stack ( #25820 )
...
* rename ChannelData to ClientChannel
* make ClientChannel class definition public
* move retry code to its own filter
* move LB call factory method to ClientChannel class
* move dynamic termination filter out of ClientChannel class
* update comments
* remove retry parsing from client channel service config parser
* fix clang-tidy
* fix service_config_test
* clang-format
4 years ago
Yash Tibrewal
53ba4a101e
Implement FilterChainMatch algorithm ( #25757 )
...
* Implement FilterChainMatch logic
* Add tests for transport protocol too
* Tests for duplicate NACKing
* Introduce ConnectionManager as an interface for config fetchers
* Do not parameterize IncrementIfNonZero
* Some formatting
* Reviewer comments
* Add filter chain match information for duplicate match error
* Reviewer comments
* Some cleanup
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Clang-tidy
4 years ago
Esun Kim
10b17f3739
Added mock_stream_test ( #25103 )
4 years ago
AJ Heller
1694984846
Revert "Remove unused eventmanager_libuv code ( #25796 )" ( #25807 )
...
This caused problems internally. The interface deletion needs a cherrypick, but I will do an overnight test first, before I reintroduce. CC @nicolasnoble
4 years ago
AJ Heller
077f627aef
Remove unused eventmanager_libuv code ( #25796 )
4 years ago
Lidi Zheng
b457f43227
Implement C++ Admin Interface API ( #25753 )
...
* Implement C++ Admin Interface API
* Address reviewer's requests
* Remove static asserts for raw pointers
* Make sanity tests happy
* Windows: pacify conflict between ifndef and macros
* Disable admin services test on iOS
* Make iOS happy by:
* Letting grpcpp_admin conditionally depend on grpcpp_csds
* Fix an unexpected side-effect of dependency update
4 years ago
Lidi Zheng
1040fbdb9f
Re-introduce "CSDS Implementation" ( #25762 )
...
* Revert "Revert "CSDS Implementation (#25038 )" (#25745 )"
This reverts commit 98fd4e1e36
.
* Add xDS special Bazel build rules
* Add 2 todos to remove the added rules
4 years ago
Jan Tattermusch
8cae49174c
extract_metadata_from_bazel_xml.py changes from #25272 ( #25758 )
...
* tools/buildgen/extract_metadata_from_bazel_xml.py changes from #25272
* regenerate projects
* get rid of useless _deduplicate_append
* extract_deps worked for both collapsed_sources and collapsed_deps only due to mismatch of bazel label vs target name mismatch
* special handling for absl has no effect
* improve comments
* remove changes that are not needed yet
4 years ago
Lidi Zheng
98fd4e1e36
Revert "CSDS Implementation ( #25038 )" ( #25745 )
...
This reverts commit 27de24a38e
.
4 years ago
donnadionne
26fd0ce3c9
Generating hash for ring_hash policy ( #25415 )
4 years ago
Lidi Zheng
27de24a38e
CSDS Implementation ( #25038 )
...
* Implement the xDS Config Dump as CSDS in Core
* Revemp the logic of caching and constructing the CSDS response
* Unref created error
* Fix the clang tidy complains
* Resolve comments about symbol preload and Json ctor
* Improve readability
* Merge with new ADS logic && support latest CSDS
* Refactor the version/client_status logic
* Add support for error_state
* Add support for does_not_exist
* Add node information
* Fix the ProtoBuf segfault
* More test cases
* Refactor to use bytes as cache instead of JSON
* Apply clang_tidy's suggestion
* Resolve reviewer's requests
* Tiny stylish fixes && make sanity test happy
* WIP: still working on the matchers
* Update a bunch of matchers
* Improve readability a bit
* Resolve reviewer's suggestions
* Resolve reviewer's comments
* Make Unpack fail fast
4 years ago
donnadionne
d3e97d953b
Adding xxhash as a subtree ( #25645 )
4 years ago
Lidi Zheng
3b067c9f3f
Implement xDS client-side fault injection filter ( #24354 )
...
* Refactored with dynamic filters
* Error-tolerance tuned
* Fix leak of grpc_error and data race of canceller
* Adopt the latest xDS HTTP filter framework
* Fix fault injection tests' conflict with router filter
* Test alternative setup (override, no-override) without copy
* Refactor file strcutures of fault injection filter
* Rewrite the Json parsing/assembling logic again
* Added logic for aborting streaming RPC && resolve comments
4 years ago
Yash Tibrewal
8eb2e13a6e
C++ xDS interop test server changes ( #25633 )
...
* C++ xDS interop test server changes
4 years ago
Ashitha Santhosh
bd86187f19
SDK authorization policy translator. ( #25361 )
...
* SDK authorization policy translator.
4 years ago
donnadionne
34c8a1f87a
Revert "Adding xxhash as a subtree" ( #25630 )
...
This reverts commit 3880393fea
.
4 years ago
donnadionne
40bc4624c2
Adding xxhash as a subtree ( #25601 )
...
* Squashed 'third_party/xxhash/' content from commit aea11081f3
git-subtree-dir: third_party/xxhash
git-subtree-split: aea11081f349893ec26f86ada22c66e828885083
* Adding xxhash as a subtree
4 years ago
Esun Kim
444e6e6d64
Added include/grpcpp/impl/codegen/method_handler_impl.h to grpc++_codegen_base ( #25618 )
4 years ago
Jan Tattermusch
a2697e4592
simplify build.yaml: get rid of the "secure" field ( #25547 )
...
* get rid of useless "secure" field from build.yaml
* remove nonsensical "liblibssl.a" dependency from makefile
* regenerate projects
4 years ago
Esun Kim
f862a2259f
Add abseil thread annotations to grpcpp/sync ( #25560 )
...
* Add abseil annotation to grpcpp/sync
* Bump alpine linux to 3.11 from 3.9
4 years ago
Mark D. Roth
49601b0334
Second attempt: xDS HTTP filter support for gRPC client ( #25558 )
...
* Revert "Revert "xDS HTTP filter support for gRPC client" (#25555 )"
This reverts commit 785a128a83
.
* xds_end2end_test: avoid flakes from lingering shutdown from previous test
4 years ago
donnadionne
785a128a83
Revert "xDS HTTP filter support for gRPC client" ( #25555 )
...
This reverts commit b2164837a8
.
4 years ago
Jan Tattermusch
3b6ea094dd
get rid of dll_only in build.yaml ( #25524 )
4 years ago
Jan Tattermusch
0c66144692
Simplify build.yaml's "deps_linkage" logic ( #25521 )
...
* regenerate to fix sanity
* makefile template always assumes deps_linkage=static
* stop setting no-longer-used deps_linkage field in build_autogenerated.yaml
* regenerate projects
4 years ago
Mark D. Roth
b2164837a8
xDS HTTP filter support for gRPC client
4 years ago
Lidi Zheng
0b04a92aba
Regenerate project
4 years ago
Lidi Zheng
50f2fdd3cf
Update the BUILD chain for the moved protos
4 years ago
Esun Kim
0cf94e3fdd
Add time-util
4 years ago
Donna Dionne
19b1f8f64a
Cds Watchers changes to support aggregate Cds and Logical DNS Cds.
4 years ago
Mark D. Roth
80ede5992a
Implement google-c2p resolver.
4 years ago
Jan Tattermusch
0b1798412b
Revert "Wrap strerror into a thread-safe implementation"
4 years ago