Mehrdad Afshari
9d1ba2efd9
Fix grpcio_{health_checking,reflection} packaging
...
The previous packaging structure exhibited strange behavior of
slowness when trying to use pip to install grpcio-reflection
or grpcio-health-checking in a single line with grpcio-tools.
The root cause seems to be the complicated interaction between
pip and setuptools and the fact that we ship a single .tar.gz
"source" archive for `grpcio_reflection` and
`grpcio_health_checking` packages. `pip` tries to build this
"source" package, and our build process wants to generate
code for the `.proto` files in the package. However, we have
already processed the `.proto` files into `_pb2.py` files in
our artifact build process, and installing `grpcio_tools`
to get `grpcio_{reflection,health_checking}` seems excessive.
The behavior gets worse since `setuptools`, while building
the package from source, tries to fetch `grpcio_tools` from
source and build that too. This takes a while, since it
involves compiling a bunch of native code from `protobuf` and
`grpc` and requires a C compiler to boot.
This commit modifies the Python artifact for the two packages
so that they will not include the raw `.proto` files in the
distribution uploaded to PyPI, nor would they contain the
Python module that does the preprocessing code generation
from the respective .proto files. Instead, a specific code
path is taken when the generated `_pb2_grpc` Python module is
not present in the package to provide such functionality
when built from the gRPC git repository (and hence when built
from our CI infrastructure.)
7 years ago
Mehrdad Afshari
e52772451a
Merge pull request #13372 from mehrdada/minor-reflection-typo-fix
...
Correct HEALTH_PROTO to REFLECTION_PROTO
7 years ago
Mehrdad Afshari
d7a03c8197
Correct HEALTH_PROTO to REFLECTION_PROTO
7 years ago
Sree Kuchibhotla
6d472b3eef
Merge pull request #13344 from muxi/fix-timer-thread-spin
...
Fix timer loop spinning issue when system clock varies
7 years ago
Muxi Yan
39662f682e
Add comments
7 years ago
Vijay Pai
54e8f37e53
Merge pull request #13358 from vjpai/config_noares
...
Allow bazel builds to disable c-ares at command line or bazelrc
7 years ago
Muxi Yan
f8136e37f2
clang-format
7 years ago
Vijay Pai
6040975930
In bazel builds, provide an option to select non-uses of c_ares
7 years ago
Yang Gao
5d7cb43022
Merge pull request #13315 from yang-g/proto_utils
...
Only allocate what we need in the last slice for proto serialization
7 years ago
Muxi Yan
415739a051
Use atomic time pair for g_start_time
7 years ago
Craig Tiller
9ee455c94f
Merge pull request #11888 from ctiller/shardier
...
Autosize timer list shards
7 years ago
kpayson64
e87c17d93c
Merge pull request #13341 from kpayson64/fix_loon
...
Default to 1 cq per sync server
7 years ago
Ken Payson
fcfa440b20
Default to 1 cq per sync server
7 years ago
David G. Quintas
c0ec3ccda4
Merge pull request #13332 from dgquintas/grpclb_better_logging
...
grpclb: Improved logging
7 years ago
David G. Quintas
2076ca5037
Merge pull request #13343 from dgquintas/pf_error_refs
...
PF: don't unref errors when about to loop in pf_conn cb
7 years ago
David Garcia Quintas
6712a75278
Fix wrong assignment
7 years ago
David G. Quintas
9fbd6c1c63
Merge pull request #13331 from dgquintas/grpclb_retry_timer
...
grpclb: Don't expect LB call to be NULL inside LB call retry timer.
7 years ago
adelez
67520b0ffd
Merge pull request #13296 from adelez/remove_images
...
Remove images as soon as its testing is done instead in the end.
7 years ago
David Garcia Quintas
0fa2c6bba8
Moar cleanups!
7 years ago
David Garcia Quintas
b07d7a8051
Removed call to grpc_subchannel_check_connectivity and loop in pf_conn cb
7 years ago
Jan Tattermusch
8f1e27fa58
Merge pull request #13348 from jtattermusch/no_benchmarks_node
...
Remove node benchmarks from run performance script.
7 years ago
Jan Tattermusch
9c34c78d33
Merge pull request #13346 from grpc/revert-13322-oauth_failure
...
Revert "Switching from UNAUTHENTICATED to UNAVAILABLE for auth metadata failure"
7 years ago
Jan Tattermusch
6859774421
node benchmarks have been removed
7 years ago
Jan Tattermusch
14b7d5227f
Revert "Switching from UNAUTHENTICATED to UNAVAILABLE for auth metadata failure"
7 years ago
jboeuf
a5ddf26c33
Merge pull request #13322 from jboeuf/oauth_failure
...
Switching from UNAUTHENTICATED to UNAVAILABLE for auth metadata failure
7 years ago
Muxi Yan
aa2ab1fd98
Polish invalidation of
7 years ago
Muxi Yan
830c14ff9b
Add realtime clock sync every 10s
7 years ago
David Garcia Quintas
94eae043c7
PF: don't unref errors when about to loop in pf_conn cb
7 years ago
Sree Kuchibhotla
76190cf14b
Merge pull request #13294 from sreecha/cc-tsan-1
...
Fix TSAN issue in backup poller
7 years ago
David Garcia Quintas
59607907a8
pr comments
7 years ago
Craig Tiller
ce1c7db84c
Merge pull request #13039 from ctiller/tfix2
...
Turn benchmark failures into test failures
7 years ago
David Garcia Quintas
2b372e0176
pr comments
7 years ago
Eric Anderson
9c04438853
Merge pull request #13308 from ejona86/getstate-connect
...
doc: Fully define GetState in connectivity state API
7 years ago
Yang Gao
064bdd56d4
Merge pull request #13281 from yang-g/log_envar
...
log GRPC_POLL_STRATEGY when fail to find polling engine
7 years ago
David Garcia Quintas
b90cb3fc29
pr comments
7 years ago
Sree Kuchibhotla
3a128c098f
Merge branch 'master' into cc-tsan-1
7 years ago
Noah Eisen
3a54b8673e
Merge pull request #13201 from wjackson/cancel-and-priority
...
Fix header-with-priority for canceled stream bug
7 years ago
David Garcia Quintas
a1c65909c9
grpclb: Improved logging
7 years ago
Sree Kuchibhotla
e782063f2b
Merge pull request #13259 from sreecha/resource-quota-fix
...
Fix resource_quota_server bug
7 years ago
David Garcia Quintas
a5c2d6b234
Don't expect LB call to be NULL inside LB call retry timer.
...
The timer callback runs independently of query_for_backends_locked()
(which initializes the LB call). It's possible for the timer callback to
fire right after query_for_backends_locked() has initialized the LB
call. These changes makes the timer cb be a no-op in that scenario.
7 years ago
yang-g
b90f0e66e5
relax for inlined bytes to avoid allocation
7 years ago
yang-g
c88185900d
handle 0 byte size message...
7 years ago
yang-g
272eebbbcd
Only allocate what we need in the last slice for proto serialization
7 years ago
Vijay Pai
2da79b8feb
Merge pull request #13326 from vjpai/cpu_test
...
Reduce # of arithmetic ops to reduce time spent in gpr_cpu_test
7 years ago
Michael Lumish
4d4fab1e60
Merge pull request #13313 from murgatroid99/uv_assertion_fixes
...
Fix timer freed early in uv pollset
7 years ago
Whitney Jackson
a674634055
Handle frame with priority flag for canceled stream
7 years ago
Vijay Pai
c42e978004
Reduce # of arithmetic ops to reduce time spent in this test.
7 years ago
Jan Tattermusch
f4145c0a8f
Merge pull request #13324 from jtattermusch/fix_artifact_build
...
Add back artifact builder dockerfiles
7 years ago
Jan Tattermusch
dcd970d86b
artifact builder dockerfiles were removed by mistake
7 years ago
Julien Boeuf
5addba4749
Switching from UNAUTHENTICATED to UNAVAILABLE for auth metadata failure
...
Typically these failures are symptomatic of a busy oauth2 auth
server and calls should be retried in this case.
7 years ago