Juanli Shen
6ced125bb3
xds failover locality handling
5 years ago
Jan Tattermusch
6ebc1c616f
set uses_polling=False for some bazel tests
5 years ago
Mark D. Roth
51d18ecc63
Convert mpscq API from C to C++.
5 years ago
Mark D. Roth
d3f50ace39
Use mutex instead of combiner in client channel data plane.
5 years ago
Esun Kim
2707fd0bd4
Added GRPC_USE_CPP_STD_LIB flag
5 years ago
Mark D. Roth
5d646ff9ff
Make Map<> copyable.
5 years ago
Juanli Shen
c3896fa84d
Make Map<> movable
5 years ago
Soheil Hassas Yeganeh
5e35a367d9
Revert "Clearly callout the behavior for listening ports."
5 years ago
Soheil Hassas Yeganeh
6376cc9b8f
Revert "Return empty strings on optional ports for backward compatibility."
...
This reverts commit 01b82d3a39
.
5 years ago
Soheil Hassas Yeganeh
01b82d3a39
Return empty strings on optional ports for backward compatibility.
...
gpr_split_host_port returns an empty string for the port
when given "0.0.0.0:" as the input.
Change the emptiness check to an explicit argument called has_port,
to remain backward compatible.
Added a test to cover both v4 and v6.
5 years ago
Soheil Hassas Yeganeh
fedf7e373e
Fix a backward compatibility bug.
...
To remain backward compatible, we only set port if it's a non-emptry
string. But, we always store host.
6 years ago
Soheil Hassas Yeganeh
c9ec1a64ed
Fix SplitHostPort for empty strings.
...
Add unittests to catch such errors in the future.
6 years ago
Soheil Hassas Yeganeh
dbf88dd66f
Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
...
This reverts commit 80c177d4c4
.
6 years ago
Soheil Hassas Yeganeh
80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port."
6 years ago
Soheil Hassas Yeganeh
ef0f9bf7ec
Introduce string_view and use it for gpr_split_host_port.
6 years ago
Vijay Pai
6124a835d4
Revert "Hide ConnectedSubchannel from LB policy API."
6 years ago
Mark D. Roth
7767fbe683
Hide ConnectedSubchannel from LB policy API.
6 years ago
Juanli Shen
5bd4c0c7d0
Add operator== for ServerAddress and InlinedVector
6 years ago
Mark D. Roth
f9fcdc015d
Convert ChannelzRegistry to use Map<> instead of InlinedVector<>.
6 years ago
Moiz Haidry
b0ef377ebd
Fixed erase() method by changing RemoveRecursive() to return a new iterator to the successor in addition to the new root. Both are returned as a single pair
6 years ago
Esun Kim
1518ecbd76
Added new configuration system to core/grp.
...
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.
Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.
* Migrated configuration
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
6 years ago
Moiz Haidry
ba00d3c914
Added a locality map class that maintains a child policy per locality. This is used by the xds lb policy to manage multiple localities. Also added a grpc_core::Map which is a templatized map, that is used by the locality map to maintain this info
6 years ago
xtao
7766912dda
fix more detected mu/cv leaks
6 years ago
Yash Tibrewal
9df6023dca
Move Optional to gprpp, and reviewer comments
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
Soheil Hassas Yeganeh
4345ef121a
Add debug-only tracing to grpc_core::RefCount
...
Also, this patch removes the *WithTracing variants in favor of the new
API.
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Mark D. Roth
5214f8bc57
Fix InlinedVector to use its elements' move and copy methods.
6 years ago
Soheil Hassas Yeganeh
1dd09321cd
Add a non-polymorphic variant to RefCounted.
...
Using RefCounted<Child, NonPolymorphic> users can now build smart,
ref-counted pointers without paying the costs of a vtable when it's
possible.
6 years ago
ncteisen
8abb4370a9
Add pop_back test
6 years ago
Mark D. Roth
3abd620134
fix clang_tidy
6 years ago
Mark D. Roth
326f82e5e2
A bit of cleanup and add more tests.
6 years ago
Mark D. Roth
87e772fa7b
Fix RefCountedPtr to handle polymorphism.
6 years ago
ncteisen
2968bf687a
reviewer feedback
6 years ago
ncteisen
0f6e4dd20d
reviewer feedback:
6 years ago
ncteisen
2d2854a1ce
Add copy and move ctor to InlinedVector
6 years ago
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
7 years ago
Mark D. Roth
817d28fed6
Revert "Merge pull request #15746 from grpc/revert-15709-recv_trailing_metadata_ready2"
...
This reverts commit 3f9308ce1f
, reversing
changes made to 92a0ae0b10
.
7 years ago
Mark D. Roth
0159026111
Revert "Second attempt: move recv_trailing_metadata into its own callback, don't use on_complete for recv_ops"
7 years ago
Mark D. Roth
5b3824baf2
Code review changes.
7 years ago
kpayson64
f8c1bd826c
Fix fork test flake
7 years ago
kpayson64
c934a2e25d
Regenerate projects
7 years ago
kpayson64
ec445cc2bb
BUILD fixes
7 years ago
kpayson64
701e70da07
c++ify
7 years ago
Mark D. Roth
908a2173fe
Avoid warnings from LLVM -Wself-assign.
7 years ago
Mark D. Roth
7c1b5db3bb
Convert subchannel_list code to C++.
7 years ago
Mark D. Roth
62d2ca77db
Change InlinedVector to keep elements stored contiguously.
7 years ago
David Garcia Quintas
caa2605a28
Don't capture unnecessary or unused variables
7 years ago
Vijay Pai
756caa7c6a
Minor changes and fixes
7 years ago
Vijay Pai
2fe87b0905
Move assignment for Thread, make destructor optional, loop cv waits
7 years ago