AJ Heller
25d91e3091
New iomgr implementation backed by the EventEngine API ( #26026 )
...
This code adds an iomgr implementation that's backed by an EventEngine. This uses the EventEngine API alone, and separate work will introduce an EventEngine prototype to plug into it.
See also drfloob#1: @nicolasnoble has a pull request against this branch, implementing the libuv-based EventEngine. One goal here is to implement the iomgr code such that it can be merged independently without affecting normal builds.
This implementation can be built using bazel build --cxxopt='-DGRPC_USE_EVENT_ENGINE' :all
Some shortcuts are being taken to get a working, testable version of the engine. EventEngines are not pluggable, for example.
4 years ago
Jan Tattermusch
451127740d
Revert "Replace in-house rand with absl::Random for backoff ( #26463 )" ( #26476 )
...
This reverts commit b5191d0930
.
4 years ago
Esun Kim
b5191d0930
Replace in-house rand with absl::Random for backoff ( #26463 )
...
* Replace in-house rand with absl::Random for backoff
* Run sanity
* Added bscrypt dependency
4 years ago
Ashitha Santhosh
b9a643a817
Static policy provider implementation. ( #26134 )
4 years ago
donnadionne
e22fefb39a
Ring hash implementation ( #26356 )
...
* Ring hash implementation
* Fixing an error caught during import:
ipv6 addresses need small modifications when creating the ring entry.
* fixing an error
* removing debugs
* Remove unnecssary hashing
* small cleanup
4 years ago
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
Yash Tibrewal
a989179ace
Bump master to v1.39.0 ( #26207 )
...
* Bump version to v1.39.0
* Regenerate projects
* Buildifier format
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
Yash Tibrewal
fe56d1a39a
Update boringssl submodule ( #26101 )
...
* update submodule boringssl-with-bazel with origin/master-with-bazel
* Update boringssl dependency to master-with-bazel commit SHA
* Generate projects
* Updated boringssl sha256
* Generate boringssl prefix headers
* Increment podspec version
4 years ago
Esun Kim
2d8936b097
Added status_helper ( #25901 )
...
Added status_util
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
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
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
Richard Belleville
9964ae875b
Bump master version to 1.38 ( #25838 )
...
* Bump version to 1.38
* Regenerate projects
4 years ago
Esun Kim
37eecd3ce3
Updated Abseil to LTS 20210324.0 ( #25835 )
...
* Updated abseil-cpp to 20210324.0
* UBSAN with -fsanitize-link-c++-runtime
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
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
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
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
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
53d32b748f
Cleanup: Remove no-longer-needed expand_filegroups.py ( #25532 )
...
* get rid of expand_filegroups.py
* regenerate projects
4 years ago
Mark D. Roth
b2164837a8
xDS HTTP filter support for gRPC client
4 years ago
Lidi Zheng
51659eb06e
Regenerate projects
4 years ago
Lidi Zheng
0b04a92aba
Regenerate project
4 years ago
Lidi Zheng
c78c6ae20d
regenerate files
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
Esun Kim
3a1174d046
Regenerate projects
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
Ashitha Santhosh
4ca878799b
Refactor [String/Header/Path]matchers in xds_api.
4 years ago
yang-g
cf26f0133a
Wrap strerror into a thread-safe implementation
4 years ago
Masaki Hara
58ef4d7135
Backport "Fix implicit declaration error in zlib + macOS #24979"
4 years ago
Masaki Hara
d1589159c3
Always apply -DHAVE_UNISTD_H
...
This commit also moves the CPPFLAGS config from Makefile, which is
autogenerated, to build_handwritten.yaml, which is literally
handwritten.
4 years ago
Stanley Cheung
fe2e96f9f3
Regenerate projects
4 years ago