Brian Zhao
8274502af8
Windows's STACKFRAME Frame Addr should be RBP, the base pointer, not RSP, the stack pointer. This is documented here: https://docs.microsoft.com/en-us/windows/win32/api/dbghelp/ns-dbghelp-stackframe with the comment "AddrFrame x64: The frame pointer is RBP or RDI." Note that this is also what StackWalker uses: https://github.com/JochenKalmbach/StackWalker#initializing-the-stackframe64 and what Chromium uses: https://codesearch.chromium.org/chromium/src/v8/src/base/debug/stack_trace_win.cc?l=200&rcl=69d20d247f62a3378d15ce0956ed8bf9665e6a44 release notes: no
5 years ago
Vijay Pai
65eb9c9ddb
Revert "Test message size of 100MB"
5 years ago
Juanli Shen
d34f366337
Test message size of 100MB
5 years ago
Mark D. Roth
21c5424477
Add API for accessing per-call backend metric data in LB policies.
5 years ago
Mark D. Roth
18be57b4df
LB policy API changes suggested by Sanjay.
5 years ago
Esun Kim
e0b94db1b9
Enforce abstract class rule
5 years ago
Juanli Shen
45dd8be442
Use LRS in xds policy
5 years ago
Mark D. Roth
db3d8be647
Add MetadataInterface abstraction to LB policy API.
5 years ago
Mark D. Roth
224f0ef837
Second attempt: Hide ConnectedSubchannel from LB policy API.
5 years ago
Keith Moyer
4a96677219
Use struct-defined initialization when available
...
The grpc_polling_entity and grpc_httpcli_response types have default
member initializer values specified, to indicate what a cleared variable
of those types should have as values.
This file overrides that, however, by directly performing a memset to 0
over the structures. Instead, the initialization values defined by the
type should be honored.
Local types that include these types are also upgraded to specify
default member initializer values to simplify clearing them.
This fixes -Wclass-memaccess warnings in modern versions of GCC.
5 years ago
Soheil Hassas Yeganeh
dbf88dd66f
Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
...
This reverts commit 80c177d4c4
.
5 years ago
Soheil Hassas Yeganeh
80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port."
5 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
Mark D. Roth
cfb31818ef
Remove channelz from LB policy API.
6 years ago
Mark D. Roth
28ccd61cf5
Use SubchannelInterface to hide implementation from LB policy API.
6 years ago
Mark D. Roth
31ec9a74ae
More LB policy API improvements.
6 years ago
Mark D. Roth
477ebef532
Remove CreateChannel() method from LB helper API.
6 years ago
Prashant Jaikumar
1ac1ab7396
Flaky network test enhancements and cleanups
...
- Parameterized flaky_network_test to run with different packet sizes and
credentials.
- Cleanup debugger_macros
Parametrize flaky_network_test to run with different packet sizes and
credentials.
6 years ago
Esun Kim
90fbdc92f5
Roll-forward "Config migration"
...
This reverts commit 236ae12bb1
.
6 years ago
yang-g
d22997e1ea
Add back deadline
6 years ago
yang-g
557a3e578d
Remove 5s deadline on test server shutdown
6 years ago
Alexander Polcyn
236ae12bb1
Revert "Config migration"
...
This reverts commit 87905ae5ea
.
6 years ago
Esun Kim
87905ae5ea
Config migration
6 years ago
Yash Tibrewal
02bd17ff15
cleanup
6 years ago
Yash Tibrewal
6cba63eb47
reviewer comments and tests
6 years ago
Alexander Polcyn
d5fb6da369
Revert "Use aligned_alloc directly for grpc_core::Arena"
...
This reverts commit 333ba8feae
.
6 years ago
Alexander Polcyn
cb966a4e5e
Revert "Renamed macros for memory alignment"
...
This reverts commit a3fe7c0c90
.
6 years ago
Arjun Roy
a3fe7c0c90
Renamed macros for memory alignment
6 years ago
Arjun Roy
333ba8feae
Use aligned_alloc directly for grpc_core::Arena
6 years ago
yang-g
5e7e494638
Use milliseconds for test_server timeout
6 years ago
yang-g
37783d6329
Stop calling ParseCommandLineFlags directly, use wrapper call instead
6 years ago
Yash Tibrewal
4309a98b66
Health checking service name to be passed as a channel arg for now
6 years ago
Yash Tibrewal
116ce0fb24
Use health check parser
6 years ago
Mark D. Roth
432c97e1ba
Remove error from connectivity state tracking.
6 years ago
Bill Feng
df89d8e157
bazel RBE Windows build
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
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
6 years ago
Mark D. Roth
d069bc7721
LB policy API cleanup
6 years ago
Yash Tibrewal
abcd5861eb
Nuking the poll-cv polling engine
6 years ago
Soheil Hassas Yeganeh
18b19105f2
Implement TCP_INQ for gRPC in Linux
...
TCP_INQ is a socket option we added to Linux to report pending bytes
on the socket as a control message.
Using TCP_INQ we can accurately decide whether to continue read or not.
Add an urgent parameter, when we do not want to wait for EPOLLIN.
This commit improves the latency of 1 RPC unary (minimal benchmark)
significantly:
Before:
l_50: 61.3584984733
l_90: 94.8328711277
l_99: 126.211351174
l_999: 158.722406029
After:
l_50: 51.3546011488 (-16%)
l_90: 72.3420731581 (-23%)
l_99: 103.280218974 (-18%)
l_999: 130.905689996 (-17%)
6 years ago
Mark D. Roth
251d66aac6
Convert client channel factory to C++
6 years ago
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc
, reversing
changes made to 76a38bfcc2
.
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
Mark D. Roth
e40177fad0
Make service config ref-counted and hold refs to it in LB config.
6 years ago
Mark D. Roth
624fb64f61
LB policy ctors no longer perform updates; UpdateLocked() must be called
...
after construction.
6 years ago
Mark D. Roth
aa149fedbb
Revert "Merge pull request #18093 from grpc/revert-17770-lb_policy_picker_api"
...
This reverts commit f327b83706
, reversing
changes made to b3b5d63423
.
6 years ago
hcaseyal
275296c594
Revert "LB policy picker API"
6 years ago
xtao
902820a5de
1) fix the asan tests caught leaks;
...
2) fix the tsan tests caught data races;
6 years ago