Remove backup poller from GRPC core#1577
Conversation
…we-dont-need-no-backup Conflicts: test/core/end2end/fixtures/chttp2_fullstack.c test/core/end2end/fixtures/chttp2_fullstack_uds_posix.c test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c test/core/end2end/fixtures/chttp2_socket_pair.c test/core/end2end/tests/cancel_after_accept.c
There was a problem hiding this comment.
magic number 500. Turn into a #define'd constant?
There was a problem hiding this comment.
Moved into a separate function, clarified necessary semantics, made it better
|
I've reviewed up to tcp_client.h (exclusive). I'll continue tonight. |
src/core/iomgr/tcp_client.h
Outdated
There was a problem hiding this comment.
Update docstring, especially regarding the role of "interested_parties"
|
With enough tests (about 3 failures out of 20000 total tests), I get a few for this branch that look like this: D0618 10:07:56.987466586 26319 test_config.c:52] test slowdown: machine=1.000000 build=1.000000 total=1.000000 |
Conflicts: gRPC.podspec tools/doxygen/Doxyfile.core.internal
There was a problem hiding this comment.
Do we really need to call strdup inside a lock ? :-)
|
Alright, I finished proof-reading this (my eyes are still a bit bleeding), and I didn't see anything out of whack. |
|
LGTM! |
|
I ran some iterations of C# tests against this and it looks like the returned status codes for some of the calls are still getting mixed up from time to time. I ran with -n 100 ( = 300 suites in total) and got 15 failures. |
|
Jan: OK with this going in and a quick follow-up being written tomorrow? On Thu, Jun 18, 2015, 6:04 PM Jan Tattermusch notifications@github.com
|
|
(Trying to avoid this growing further) On Thu, Jun 18, 2015, 6:53 PM Craig Tiller ctiller@google.com wrote:
|
|
Yep, sounds good. |
|
After this gets merged, PTAL at #2105 . Thanks! |
|
Pulling the trigger! |
Remove backup poller from GRPC core
The backup poller thread was always a hack that we needed to keep things working as iomgr was introduced. This change removes it.
Fixes #51.
Fixes #52.
Fixes #1008.