aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
| | | | * | | | | | | clang-formatGravatar Muxi Yan2018-11-12
| | | | | | | | | | |
| | | * | | | | | | | use the kokoro's default maxfiles on macosxGravatar Jan Tattermusch2018-11-12
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #17143 from grpc/module-root-loggerGravatar Richard Belleville2018-11-12
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | Only Add NullHandler to Module-Root Logger
| | | | * | | | | | | Directly calling logging function to prevent dead-strippingGravatar Muxi Yan2018-11-12
| | | | | | | | | | |
| | | | * | | | | | | Revert "Prevent dead-stripping by explicitly calling init"Gravatar Muxi Yan2018-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d0539dcc3693458f89e75a4f4d0d6534c40ebfa3.
| | * | | | | | | | | changed exclusion to the correct targetGravatar Bill Feng2018-11-12
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #17180 from vjpai/tidier3Gravatar Vijay Pai2018-11-12
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / |/| | | | | | | | | | Fix clang-tidy issues
* | | | | | | | | | | Merge pull request #17183 from ↵Gravatar Jan Tattermusch2018-11-12
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jtattermusch/client_channel_stress_tests_open_files make client_channel_stress_test run exclusively
| | | | | * | | | | | | fix linux_extra python artifactsGravatar Jan Tattermusch2018-11-12
| |_|_|_|/ / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | make client_channel_stress_test run exclusivelyGravatar Jan Tattermusch2018-11-12
|/ / / / / / / / / /
| | | | * / / / / / Prevent dead-stripping by explicitly calling initGravatar Muxi Yan2018-11-11
| |_|_|/ / / / / / |/| | | | | | | |
| * | | | | | | | Fix clang-tidy issuesGravatar Vijay Pai2018-11-11
|/ / / / / / / /
* | | | | | | | Merge pull request #17176 from grpc/fix-bazel-requirementsGravatar Richard Belleville2018-11-09
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add missing transitive dependencies
* \ \ \ \ \ \ \ \ Merge pull request #16647 from grpc/add-macos-exampleGravatar Muxi Yan2018-11-09
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Add Objective-C MacOS example
| | * | | | | | | | Add missing transitive dependenciesGravatar Richard Belleville2018-11-09
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit resolves an interop test currently failing on master. Over the past couple of weeks, bazel-based tests have been introduced. The current setup does not appear to automatically handle transitive dependencies. Instead, transitive dependencies such as `requests` have been manually added to `requirements.bazel.txt`. It appears that the build server happened to have the dependencies of the `requests` library installed already, but later had a configuration wipe. This was compounded by the google-auth library erroneously reporting that the `requests` module itself was not installed. In fact, it was the transitive dependencies of `requests` that were not being installed by the build file. (third-order dependencies of our test) I consider this a quick fix to get the build passing. In the long run, we need to automatically resolve and install transitive dependencies in our bazel builds. Resolves: #17170
| | | | * | | | | Enable SO_REUSEADDR in client socketsGravatar Guantao Liu2018-11-09
| |_|_|/ / / / / |/| | | | | | |
* | | | | | | | Merge pull request #17150 from lidizheng/enable-virtualenv-testsGravatar Lidi Zheng2018-11-09
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix gRPC python tests failing under `virtualenv`
* \ \ \ \ \ \ \ \ Merge pull request #17131 from AspirinSJL/grpclb_fallback_fixGravatar Juanli Shen2018-11-09
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Update the RR policy even when fallback mode is disabled
| | * | | | | | | | Only install virtualenv if not inside of virtualenv alreadyGravatar Lidi Zheng2018-11-09
| | | | | | | | | |
| * | | | | | | | | Update the RR policy when fallback is disabledGravatar Juanli Shen2018-11-09
| | | | | | | | | |
| | | | | * | | | | fix incorrect exclusion of json_run_localhost in TSANGravatar Bill Feng2018-11-09
| | | | | | | | | |
* | | | | | | | | | Merge pull request #17171 from jtattermusch/python_bazel_useful_outputGravatar Jan Tattermusch2018-11-09
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | | Make python bazel tests outputs useful
* | | | | | | | | | Merge pull request #17169 from jtattermusch/foundry_msan_pr_scriptGravatar Jan Tattermusch2018-11-09
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add script for running RBE msan on PRs
| | * | | | | | | | | make python bazel tests outputs usefulGravatar Jan Tattermusch2018-11-09
| |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #17158 from jtattermusch/foundry_opt_dbg_configGravatar Jan Tattermusch2018-11-09
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | use bazel --config= for all foundry builds
| | * | | | | | | | | add script for running RBE msan on PRsGravatar Jan Tattermusch2018-11-09
| |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #17165 from jtattermusch/fix_absl_msanGravatar Jan Tattermusch2018-11-09
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | use sanitizer-related defines for absl (to fix MSAN failures)
| | | | | | * | | | | Use single NullHandler for whole libraryGravatar Richard Belleville2018-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I was trying to get a feel for what the rest of the python ecosystem does with its logging, so I looked into the top few libraries on pypi: urllib3 maintains a logger for not quite every module, but for each one that does heavy lifting. The logger name is `__name__`, and no handlers are registered for any module-level loggers, including NullHandler. Their documentation spells out how to configure logging for the library. They explicitly configure a library root-level logger called `urllib3` to which they attach a `NullHandler`. This addresses the "no handlers could be found" problem. Their tests explicitly configure handlers, just like ours do. scrapy is more hands-on. It provides a configuration module for its logging and a whole document on how to handle logging with scrapy. It looks like log.py's whole reason for existence is making sure that a handler is attached to to the scrapy handler at startup. I think the extra complexity here is because scrapy also offers a CLI, so there has to be some way to configure logging without resorting to writing python, so I felt we didn't need to resort to this added complexity. --- Based on all of the libraries I've looked at, I think our current approach is reasonable. The one change I would make is to explicitly configure a `grpc` logger and to only attach a `NullHandler` to it instead of putting the burden on the author of each new module to configure it there. With this change, I have - Configured a logger in each module that cares about logging - Removed all NullHandlers attached to module-level loggers - Explicitly configured a `grpc` logger with a `NullHandler` attached Resolves: #16572 Related: #17064
| | | | | | | | | | * switch C# to contextual serializer and deserializer internallyGravatar Jan Tattermusch2018-11-09
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | |
| * | | | | | | | | use sanitizer-related defines for abslGravatar Jan Tattermusch2018-11-09
|/ / / / / / / / /
* | | | | | | | | Merge pull request #17159 from jtattermusch/rbe_msan_disable_localhostGravatar Jan Tattermusch2018-11-09
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | disable json_run_localhost on bazel RBE msan
* \ \ \ \ \ \ \ \ \ Merge pull request #17151 from arjunroy/grpc_memleak_fixGravatar Yang Gao2018-11-08
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / |/| | | | | | | | | Fixed intermittent CPP sync server shutdown leak.
| | * | | | | | | | disable json_run_localhost on bazel RBE msanGravatar Jan Tattermusch2018-11-08
| | | | | | | | | |
* | | | | | | | | | Merge pull request #17160 from vjpai/requestGravatar Vijay Pai2018-11-08
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Pre-request 32 callbacks of each method
| * | | | | | | | | | Pre-request 32 callbacks of each methodGravatar Vijay Pai2018-11-08
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #17125 from vishalpowar/xds_disable_fallbackGravatar vishalpowar2018-11-08
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Disabling the current gRPC LB method of handling fallback in xds plugin.
| * | | | | | | | | | Address review commentsGravatar Vishal Powar2018-11-08
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #17155 from hcaseyal/fix_namespaceGravatar hcaseyal2018-11-08
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make namespace more explicit.
* \ \ \ \ \ \ \ \ \ \ \ Merge pull request #17140 from vjpai/qpsGravatar Jan Tattermusch2018-11-08
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / |/| | | | | | | | | | | Initialize values in memory before creating slice
| | | | | * | | | | | | use bazel --config= for all foundry buildsGravatar Jan Tattermusch2018-11-08
| |_|_|_|/ / / / / / / |/| | | | | | | | | |
| | | | | | | | | | * regenerate protosGravatar Jan Tattermusch2018-11-08
| | | | | | | | | | |
| | | | | | | | | | * generate alternative BindService methodGravatar Jan Tattermusch2018-11-08
| | | | | | | | | | |
| | | | | | | | | | * add ServiceBinderBaseGravatar Jan Tattermusch2018-11-08
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #17133 from jtattermusch/parallel_compile_python_distribtestsGravatar Jan Tattermusch2018-11-08
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add _parallel_compile_patch.py to python manifest
* \ \ \ \ \ \ \ \ \ \ \ Merge pull request #17134 from jtattermusch/run_tests_matrix_improvementsGravatar Jan Tattermusch2018-11-08
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | run_tests_matrix.py should log run_tests commands
| | | | * | | | | | | | Make namespace more explicit.Gravatar Hope Casey-Allen2018-11-07
| |_|_|/ / / / / / / / |/| | | | | | | | | |
| | | | | * | | | | | Set call_ member variable to null after freeing.Gravatar Arjun Roy2018-11-07
| | | | | | | | | | |
| | | | | * | | | | | Fixed intermittent CPP sync server shutdown leak.Gravatar Arjun Roy2018-11-07
| |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically: if a request handling thread is in flight but scheduled out when shutdown is called on the server, but it has already passed the shutdown check, then when it resumes it will add a grpc_call to the completion queue that is leaked. We fix this by explicitly freeing such calls after all worker threads have shutdown. To manifest the leak, run the end2end::ClientCancelsRequestStream test repeatedly on the unpatched server implementation. About 0.5% of the time, the leak will manifest.
| | | | * | | | | | Simplify the code in CreateRoundRobinPolicyArgsLocked() to always expectGravatar Vishal Powar2018-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | serverlist_ to be present.
* | | | | | | | | | Merge pull request #17129 from yashykt/cancelinterceptorcommentGravatar Yash Tibrewal2018-11-07
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add comment on cancellation being forever alone in the batch