Mark D. Roth
e40177fad0
Make service config ref-counted and hold refs to it in LB config.
6 years ago
Yang Gao
76a38bfcc2
Merge pull request #18143 from grpc/revert-18120-detach
...
Revert "Fix-forward: avoid data race on detached thread deletion"
6 years ago
Nikolai Lifanov
580b720a39
address comments by ericgribkoff@
...
o re-add USE_PREBUILT_GRPC_CORE option that was erroneously removed
o fix typo in comment
6 years ago
Yang Gao
dc3aadb6a5
Revert "Fix-forward: avoid data race on detached thread deletion"
6 years ago
Mark D. Roth
d7fe3b023e
Merge pull request #18141 from markdroth/resolver_connectivity_state
...
Transition into state CONNECTING when we start name resolution
6 years ago
Eric Gribkoff
d6e8c4fdb1
Merge pull request #18129 from ericgribkoff/abort_test_test
...
Disable test_abort_does_not_leak_local_vars
6 years ago
Nikolai Lifanov
829455187c
specify -stdlib=libc++ for darwin
...
It's not the default with older Apple clang builds
and without it c++11 features don't work on at least OS X 10.7:
./src/core/lib/gprpp/ref_counted.h:28:10: fatal error: 'atomic' file not found
#include <atomic>
^~~~~~~~
I manually tested it on macOS 10.11 image and there was not a
regression.
This should fix the "Artifact Build MacOS (internal CI)" test failure.
6 years ago
Soheil Hassas Yeganeh
9dd94ea1fa
Use std::atomic for CQ data.
...
There was a sub-optimality in the CAS operation. vjpai@ and
I decided to move to std::atomic.
This commit basically moves CQ data to C++ structures, and
makes grpc_cq_event_queue a proper c++ class called CQEventQueue.
6 years ago
Lidi Zheng
75df1eccad
Merge pull request #17881 from lidizheng/bzl-py3-fix
...
[Roll Forward] Enable Python 3 for Bazel to Run Tests
6 years ago
Nikolai Lifanov
a916a53347
use str instead of Text to appease Python 2.7
...
The Python 2.7 Linux test runner doesn't have typing module available.
6 years ago
Nikolai Lifanov
91db94b278
build grpc libraries now that submake for macOS is removed
6 years ago
Mark D. Roth
428fa7602c
Transition into state CONNECTING when we start name resolution.
6 years ago
Mark D. Roth
5f00cfd3bd
Merge pull request #18096 from markdroth/lb_policy_api
...
Second attempt: LB policy picker API
6 years ago
Mark D. Roth
148ae20e44
Code review changes.
6 years ago
Vijay Pai
7eb08ad72e
Add interceptors, secure credentials, and cancellation to client callback test
6 years ago
Alexander Polcyn
85979e9a58
List c-ares tracers in documentation
6 years ago
Nikolai Lifanov
9eb1171dfb
be compatible with Python 2 and Python 3
...
In Python 3, cc_err is going to be bytes().
6 years ago
Christopher Warrington
1232f60ac2
Make UserState non-virtual; add protected impl
...
Makes the public UserState property non-virtual and adds a protected
virtual UserStateCore that can be overridden. This follows the pattern
of the other members.
6 years ago
Mehrdad Afshari
0ac7203777
Removed unused ChannelCredentials.c_credentials
6 years ago
Nikolai Lifanov
1d9a18407a
Merge branch 'cstd' of github.com:lifanov/grpc into cstd
6 years ago
Nikolai Lifanov
4fdfdd5d2c
Merge branch 'master' into cstd
6 years ago
Nikolai Lifanov
ad093660ff
format with yapf
...
This was already formatted with yapf, but perhaps I didn't do this
correctly. I copied the diff directly from kokoro build log this
time.
6 years ago
Nikolai Lifanov
c9e17aa21b
Merge branch 'master' into cstd
6 years ago
Nikolai Lifanov
c1451e83d5
generalize macOS workaround for -std=c++11 passed in C mode
...
GCC allows this, but notably clang does not. Other systems,
like FreeBSD and some Linux distros ship with clang as default
compiler. While here, switch the approach to filtering out std
flag since the make workaround relies on GNU make syntax and
'make' binary could be bmake and/or gmake could be absent.
The idea to filter the flags was taken from an answer to this
Stack Overflow question:
https://stackoverflow.com/questions/15527611/how-do-i-specify-different-compiler-flags-in-distutils-for-just-one-python-c-ext
6 years ago
Nicolas Noble
8fd43c2e91
Merge pull request #18125 from allevato/fix-cares-config
...
Support "darwin_x86_64" CPU in cares.BUILD.
6 years ago
rmstar
b1c5376ca1
Merge pull request #18118 from rmstar/cfstreamlib
...
Fix C++ build on Mac OS
6 years ago
Prashant Jaikumar
b889461b46
Fixed cast in endpoint_cfstream.cc
6 years ago
Prashant Jaikumar
e8efe06a42
Re-add cfstream_test
...
2nd attempt at adding cfstream_test after fixing internal build failures caused by first attempt.
6 years ago
Lidi Zheng
9a548969ed
Merge branch 'master' into bzl-py3-fix
6 years ago
Eric Gribkoff
8ba4d3a801
Disable test_abort_does_not_leak_local_vars
...
This test relies on gc timing and has been flaky
(https://github.com/grpc/grpc/issues/17927 ).
6 years ago
Mark D. Roth
523e537368
Start connectivity watches before updating connectivity state.
6 years ago
Mark D. Roth
624fb64f61
LB policy ctors no longer perform updates; UpdateLocked() must be called
...
after construction.
6 years ago
Eric Gribkoff
0e0a535bcc
Merge pull request #18128 from ericgribkoff/disable_flaky_test
...
Disable flaky health service test
6 years ago
Eric Gribkoff
deb1081536
Disable flaky health service test
6 years ago
rmstar
7f869b46d1
Merge pull request #18121 from rmstar/flakyflake
...
Debug flaky_network_test
6 years ago
Tony Allevato
330e0f3ba8
Support "darwin_x86_64" CPU in cares.BUILD.
...
Bazel recognizes both "darwin" and "darwin_x86_64" as CPU values, and
the Apple Bazel rules currently recommend the latter for building
macOS targets. Until this is cleaned up, this change allows grpc to
build correctly when that configuration is used.
Fixes #17649 .
6 years ago
Yang Gao
202c989cda
Merge pull request #18120 from vjpai/detach
...
Fix-forward: avoid data race on detached thread deletion
6 years ago
Jan Tattermusch
f16340db0b
Merge pull request #18034 from annp1987/master
...
Add copyright headers
6 years ago
Prashant Jaikumar
64dbadace8
Debug flaky_network_test
...
Run the test with some tracing enabled to debug test flakes.
6 years ago
Nguyen Phuong An
0f7450b728
Add copyright headers
6 years ago
Vijay Pai
bf2b0e5220
Merge pull request #18117 from vjpai/use_result
...
Avoid unused result warning
6 years ago
Vijay Pai
d770e265ee
Fix-forward to avoid TSAN race on detached thread deletion
6 years ago
Prashant Jaikumar
98e0ff582a
Fix C++ bulid on Mac OS
6 years ago
Vijay Pai
e60c4fc034
Merge pull request #18114 from equinox1993/master
...
Remove extra semicolons after function definitions
6 years ago
Vijay Pai
301ed88a43
Avoid unused result warning
6 years ago
Vijay Pai
147c61b2a4
Exclude StartCall from starting callback counter value
6 years ago
Eric Gribkoff
bba348c302
Merge pull request #18112 from ericgribkoff/enter_graceful_shutdown
...
add enter_graceful_shutdown() to health service
6 years ago
Eric Gribkoff
af3d32214c
increase timeout
6 years ago
Soheil Hassas Yeganeh
2bb92f6a98
Merge pull request #18059 from soheilhy/worktree-cpp-atomic
...
Introduce more helper methods in gprpp/atomic.h
6 years ago
Vijay Pai
837055509e
Merge pull request #18113 from vjpai/cli_streaming_qps
...
Fix termination condition of streaming callback QPS tests
6 years ago