Commit Graph

11847 Commits

Author SHA1 Message Date
Qiancheng Zhao a75acbb6ae Unref unselected subchannels in Pick First. 2019-06-19 19:25:44 -07:00
Juanli Shen 67e6b03e92 Fix compression algorithm parsing 2019-06-19 12:23:41 -07:00
Soheil Hassas Yeganeh 1366a609c7
Merge pull request #19386 from soheilhy/unique-ptr-deleter
Eliminate a branch in Delete for grpc_core::UniquePtr.
2019-06-19 10:42:13 -04:00
Yang Gao 907a1313a8
Merge pull request #19383 from yang-g/time
Cap deadline to 99999999 seconds on wire
2019-06-18 20:58:13 -07:00
Esun Kim cd27a36924 Regenerate projects 2019-06-18 15:40:50 -07:00
Vijay Pai 6124a835d4 Revert "Hide ConnectedSubchannel from LB policy API." 2019-06-18 10:37:15 -07:00
Soheil Hassas Yeganeh 61886e0d73 Eliminate a branch in Delete for grpc_core::UniquePtr.
This is showing up in microbenchmarks in the StringView PR,
becacuse strdup() retruns a grpc_core::UniquePtr now.

Removing the branch lowers the difference.
2019-06-18 12:06:17 -04:00
yang-g e291396644 Cap deadline to 99999999 seconds on wire 2019-06-17 23:07:05 -07:00
Vijay Pai 62b5301236
Revert "Simplify LB policy and resolver shutdown." 2019-06-17 17:01:17 -07:00
Arjun Roy 2c4b32a599
Merge pull request #19339 from arjunroy/maybe_embiggen_v2
Reduced instruction count for maybe_embiggen common case.
2019-06-13 17:15:40 -07:00
Mark D. Roth 67bcb49d38
Merge pull request #18496 from markdroth/lb_shutdown_cleanup
Simplify LB policy and resolver shutdown.
2019-06-13 14:25:21 -07:00
Arjun Roy 73180b1c0e Reduced instruction count for maybe_embiggen common case. 2019-06-13 13:59:52 -07:00
Yash Tibrewal d33f8e6288
Merge pull request #19320 from yashykt/errorrefcountfix
Move error ref to the the closure function instead of an internal function
2019-06-13 12:36:37 -07:00
Michael Lumish 64ec7201fd
Merge pull request #19328 from murgatroid99/cares_uv_windows_fixes
Fix bugs with libuv cares integration on Windows
2019-06-13 11:52:11 -07:00
Mark D. Roth 94d41f0319 Simplify LB policy and resolver shutdown. 2019-06-13 11:46:14 -07:00
Mark D. Roth ae144c9db0
Merge pull request #19334 from markdroth/lb_policy_tracer_improvements
Various LB policy tracing improvements.
2019-06-13 11:40:15 -07:00
Mark D. Roth c9bcd2e2bc
Merge pull request #19333 from markdroth/channel_refcount_debug_fix
Fix debug logging of stream refcounts.
2019-06-13 11:28:04 -07:00
Mark D. Roth 82b06bef18
Merge pull request #19042 from markdroth/subchannel_interface_connected_subchannel
Hide ConnectedSubchannel from LB policy API.
2019-06-13 09:50:37 -07:00
Muxi Yan fa6a71be5f
Merge pull request #19309 from muxi/fix-default-cfstream
Fix usage of new and delete
2019-06-13 09:45:22 -07:00
Mark D. Roth 9417a6a080 Various LB policy tracing improvements. 2019-06-13 08:55:12 -07:00
Soheil Hassas Yeganeh 79a2e1e2fd
Merge pull request #19315 from soheilhy/trace-flags
Convert TraceFlags in the hot path to DebugTraceFlags.
2019-06-13 11:45:09 -04:00
Mark D. Roth 16e66c8307 Fix debug logging of stream refcounts. 2019-06-13 08:16:03 -07:00
Michael Lumish e00aeaeb26 Fix bugs with libuv cares integration on Windows 2019-06-12 23:57:54 +00:00
Muxi Yan ad0b0287df Resolve build issue 2019-06-12 10:46:51 -07:00
Soheil Hassas Yeganeh 345caa1285
Merge pull request #19264 from soheilhy/registered-call-static
Do not intern method and host for registered methods.
2019-06-12 12:27:37 -04:00
Mark D. Roth 7767fbe683 Hide ConnectedSubchannel from LB policy API. 2019-06-12 06:44:36 -07:00
Yash Tibrewal 84d75d454e Move error ref to the the closure function instead of an internal function 2019-06-11 19:08:50 -07:00
Qiancheng Zhao 8438cc804f Added debug and non-debug tracers for subchannel. 2019-06-11 17:00:32 -07:00
Soheil Hassas Yeganeh bb5f186f3d Convert TraceFlags in the hot path to DebugTraceFlags.
We see up to 4% of cpu reduction and 3% of latency savings
in production benchmarks.
2019-06-11 16:27:55 -04:00
Soheil Hassas Yeganeh 741daa239a
Merge pull request #19288 from soheilhy/slice-move
Introduce grpc_slice_from_moved_string.
2019-06-10 23:45:31 -04:00
Muxi Yan 8ff61a3b9c clang-format 2019-06-10 14:24:53 -07:00
Muxi Yan a8fe8d4f19 Use grpc_core::New and grpc_core::Delete 2019-06-10 14:19:39 -07:00
Muxi Yan 31f0fad9a1 Fix usage of new and delete 2019-06-10 13:35:27 -07:00
Mark D. Roth b7e1b6f3ff
Merge pull request #19250 from markdroth/channelz_map.alt
Convert channelz registry to use Map<> instead of InlinedVector<>.
2019-06-10 12:28:35 -07:00
Soheil Hassas Yeganeh 5d65a9fa7b Address comments from Vijay. 2019-06-10 15:07:39 -04:00
Soheil Hassas Yeganeh 0d6cffd6c4 Introduce grpc_slice_from_moved_string.
Suggested by @markdroth to avoid extra allocation and copy when it's not
needed.
2019-06-07 22:33:47 -04:00
Juanli Shen 5bd4c0c7d0 Add operator== for ServerAddress and InlinedVector 2019-06-07 17:39:08 -07:00
Mark D. Roth f9fcdc015d Convert ChannelzRegistry to use Map<> instead of InlinedVector<>. 2019-06-07 09:51:29 -07:00
Mark D. Roth c46eb428cb
Merge pull request #19066 from markdroth/lb_policy_channelz_api_cleanup
Remove channelz from LB policy API.
2019-06-07 08:39:39 -07:00
Mark D. Roth cfb31818ef Remove channelz from LB policy API. 2019-06-07 07:09:39 -07:00
Vijay Pai d363e0ad47
Merge pull request #19270 from vjpai/more_gallantry
Stop misspelling our own project name
2019-06-06 12:27:03 -07:00
Yash Tibrewal 1d05dad90c
Merge pull request #19260 from yashykt/tcpfix
Do not reset outgoing buffer on failsafe path
2019-06-06 12:11:42 -07:00
Vijay Pai e7aca312fc Stop misspelling our own project name 2019-06-06 10:25:37 -07:00
Soheil Hassas Yeganeh 7bf845aeef Do not intern method and host for registered methods.
Registered methods already have a strdup() of host and method.
Since we have the copy, the strings are guaranteed to remain
valid.
2019-06-05 23:42:56 -04:00
Yash Tibrewal f2dc650f8b Do not reset outgoing buffer on failsafe path 2019-06-05 16:27:09 -07:00
Juanli Shen b6c89f36cb Change locality name to a class 2019-06-05 14:14:08 -07:00
Mark D. Roth 37afb4745f
Merge pull request #19244 from markdroth/channelz_fixes.alt
Change ChannelzRegistry::Get() to return a RefCountedPtr<>.
2019-06-05 12:14:50 -07:00
Mark D. Roth 76508bd450 Change ChannelzRegistry::Get() to return a RefCountedPtr<>. 2019-06-05 10:17:35 -07:00
yihuaz 53ec44298a
Merge pull request #19055 from yihuazhang/peer_verification_api_rename
Update existing call sites of verify_peer_options to use grpc_verify_peer_options
2019-06-05 08:38:08 -07:00
Juanli Shen 8f542fab36
Merge pull request #19203 from weiyongji/building
fix a windows compile warning
2019-06-04 20:22:59 -07:00