Commit Graph

3440 Commits

Author SHA1 Message Date
Vijay Pai 64528cdf4d
Merge pull request #18915 from MrMage/patch-1
Add `void` arguments to two function declarations.
2019-05-13 22:49:39 -07:00
Yash Tibrewal 3a9c96301a s/set/sets 2019-05-13 15:05:43 -07:00
Yash Tibrewal d115e39a4a Add initialization note 2019-05-13 15:04:23 -07:00
Yash Tibrewal 4e711fab64 Add method to validate and set service config json 2019-05-13 14:53:36 -07:00
hcaseyal 661663f7d1
Merge pull request #19001 from hcaseyal/health
Protected getters and setters for health check fields on the server class
2019-05-13 09:20:30 -07:00
yang-g de57783beb Merge with head and resolve conflict 2019-05-13 08:56:02 -07:00
hcaseyal f2fb11030b Add protected getters and setters for server health check fields 2019-05-10 14:53:26 -07:00
Karthik Ravi Shankar af32f6ce2e Merge branch 'master' into grpc_namespace_completion_queue 2019-05-09 14:12:52 -07:00
Karthik Ravi Shankar 476f7cd81f
Merge pull request #18730 from karthikravis/grpc_namespace_channel_new
Fold Channel into grpc_impl from grpc namespace
2019-05-09 14:09:21 -07:00
Vijay Pai cb8c4afdea Resolve consistency checks 2019-05-09 15:21:42 +02:00
Daniel Alm 360e501db2 Add `void` arguments to two function declarations. 2019-05-09 15:21:42 +02:00
apolcyn 9278411207
Merge pull request #17688 from apolcyn/ares_timeouts
Add a backup poller to c-ares resolver to take better advantage of c-ares query timeout/retry logic
2019-05-08 16:16:12 -07:00
Alexander Polcyn 2a4d62819b Revise c-ares timeouts to use c-ares's internal timeout/retry logic 2019-05-08 09:57:39 -07:00
yang-g 218e290074 Merge with head and resolve conflict 2019-05-07 22:46:45 -07:00
yang-g 898fc0da1e More fixes 2019-05-07 22:45:39 -07:00
yang-g 152a7cc122 Resolve comments 2019-05-06 15:42:18 -07:00
Alexander Polcyn d5fb6da369 Revert "Use aligned_alloc directly for grpc_core::Arena"
This reverts commit 333ba8feae.
2019-05-06 15:24:21 -07:00
sanjaypujare f3937f0e55
Merge pull request #18761 from jadekler/update_codes
docs: add note about retrying UNAVAILABLE
2019-05-04 20:23:20 -07:00
yang-g abd97b9170 Merge with head and resolve conflict 2019-04-30 23:01:01 -07:00
Karthik Ravi Shankar 5de22c4bd4 Merge branch 'master' into grpc_namespace_completion_queue 2019-04-30 17:46:33 -07:00
Karthik Ravi Shankar baef4b1d60 Merge branch 'master' into grpc_namespace_channel_new 2019-04-30 17:39:48 -07:00
Karthik Ravi Shankar 549230467b
Merge pull request #18720 from grpc/revert-18717-grpc_namespace_server_revert
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
2019-04-30 17:30:29 -07:00
Arjun Roy 238fef6571
Merge pull request #18875 from arjunroy/arena_aligned_alloc_direct
Use aligned_alloc directly for grpc_core::Arena
2019-04-30 16:59:38 -07:00
Karthik Ravi Shankar e060cd7519 Fix formatting errors 2019-04-30 16:36:05 -07:00
Karthik Ravi Shankar 9eec789a4d Merge branch 'grpc_namespace_channel_new' into grpc_namespace_completion_queue 2019-04-30 15:51:49 -07:00
Karthik Ravi Shankar e3a0c85960 Merge branch 'master' into grpc_namespace_channel_new 2019-04-30 14:30:03 -07:00
hcaseyal e3c80dc35f
Merge pull request #18870 from hcaseyal/callback_stub_doc
Add clarification to callback API documentation
2019-04-30 14:20:37 -07:00
yang-g ac3a91edf8 Support accepting external connections. 2019-04-30 12:31:34 -07:00
Karthik Ravi Shankar 6b0806eae3 more formatting changes 2019-04-30 11:22:04 -07:00
Karthik Ravi Shankar 5a132b8245 Merge branch 'master' into grpc_namespace_credentials 2019-04-30 10:18:09 -07:00
Karthik Ravi Shankar bc09c70799
Merge pull request #18454 from grpc/grpc_namespace_channel_arguments
Bring ChannelArguments to grpc_impl from grpc
2019-04-30 10:16:45 -07:00
Arjun Roy 333ba8feae Use aligned_alloc directly for grpc_core::Arena 2019-04-29 15:37:17 -07:00
Karthik Ravi Shankar 5f6a57a4d0 Formatting issues 2019-04-26 13:08:25 -07:00
Arjun Roy cf9301f964 Removed some unnecessary memset operations in core. 2019-04-25 13:59:10 -07:00
Hope Casey-Allen 3433749d1b Add clarification to callback API documentation 2019-04-24 16:37:19 -07:00
Karthik Ravi Shankar 38ffd8ca84 Merge branch 'master' into grpc_namespace_credentials 2019-04-23 18:22:09 -07:00
Karthik Ravi Shankar c8a6841dfc Merge branch 'master' into revert-18717-grpc_namespace_server_revert 2019-04-23 18:14:02 -07:00
Juanli Shen 438cb44378 Add fallback-at-startup into xds 2019-04-23 17:06:23 -07:00
Yash Tibrewal 5224e88ee5
Merge pull request #18838 from yashykt/comment_names
Comment out names of unused arguments
2019-04-23 16:40:20 -07:00
Yang Gao 5170c613cc
Merge pull request #18784 from yang-g/message_allocator
Message allocator support for callback unary
2019-04-23 15:49:49 -07:00
Karthik Ravi Shankar 5274deb32b Fix the rebase and build 2019-04-23 14:12:48 -07:00
Karthik Ravi Shankar df2c2c114c Fix access to some CreateChannel/CreateCustomChannel methods 2019-04-23 14:04:54 -07:00
Karthik Ravi Shankar 2049b6c2bd Fix build errors 2019-04-23 14:04:17 -07:00
Karthik Ravi Shankar be9479542c Fix include header issue 2019-04-23 14:03:06 -07:00
Karthik Ravi Shankar 60bdeef9f4 Move Channel also to impl for now 2019-04-23 14:03:06 -07:00
Karthik Ravi Shankar e57182ab61 Fix the compile errors for tests and namespace. 2019-04-23 14:00:56 -07:00
Karthik Ravi Shankar 8d2207da4d WIP: New changes to make namespace work 2019-04-23 13:56:29 -07:00
Karthik Ravi Shankar 603d014f0e Changes to fold credentials into grpc_impl from grpc 2019-04-23 13:54:26 -07:00
Karthik Ravi Shankar 76d78eb82b Moving create_channel from grpc to grpc_impl 2019-04-23 13:46:21 -07:00
yang-g 39cfbf9d4a cast and default initializer 2019-04-23 13:00:09 -07:00
Yash Tibrewal af2b170d8a Comment out names of unused arguments 2019-04-23 12:14:52 -07:00
Karthik Ravi Shankar 858b5cca20 Fix clang_format_code.sh issues and move the internal calls to new name 2019-04-23 11:45:11 -07:00
Karthik Ravi Shankar 17ca558e13 Merge branch 'master' into grpc_namespace_channel_arguments 2019-04-23 11:38:13 -07:00
yang-g 41824319fa Resolve review comments 2019-04-23 08:54:36 -07:00
Vijay Pai 1a4f5e8ade
Fix typo in comment
It's a ServerWriteReactor
2019-04-22 11:29:16 -07:00
Vijay Pai 20c08dbc7a Add client-side unary reactor model 2019-04-19 16:10:08 -07:00
Arjun Roy 7d946633ea grpc_slice_refcount devirtualization 2019-04-19 12:20:26 -07:00
SataQiu c4a2069d9c fix spelling errors of include/* 2019-04-19 12:20:26 -07:00
Soheil Hassas Yeganeh 1c186784cd Make sure grpc::internal::Mutex has enough space for gpr_mu, std::mutex, and pthread_mutex_t. 2019-04-17 14:35:34 -04:00
Soheil Hassas Yeganeh 2b9448a71c Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
This reverts commit d09c9f8e20.
2019-04-17 14:35:29 -04:00
yang-g 051d421579 Resolve sanity 2019-04-17 08:57:48 -07:00
yang-g 6929cdd654 initial 2019-04-16 15:43:58 -07:00
Jean de Klerk a19d8dcfb5 docs: add note about retrying UNAVAILABLE
release note: no
2019-04-15 12:45:27 -06:00
Jan Tattermusch 1d9e442b4d
Merge pull request #18707 from SataQiu/fix-repeated-words
Clean up repeated words
2019-04-15 13:37:09 +02:00
Alexander Polcyn a31e86b780 Revert remaining conversions 2019-04-11 17:54:33 -07:00
Alexander Polcyn d09c9f8e20 Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
This reverts commit a26c09dd25.
2019-04-11 16:52:54 -07:00
Karthik Ravi Shankar 00f736adda Remove unecessary file 2019-04-11 15:46:08 -07:00
Karthik Ravi Shankar 62fb156122 Fold CompletionQueue and ServerCompletionQueue into grpc_impl 2019-04-11 13:16:32 -07:00
Karthik Ravi Shankar c93a3aaed3 Remove more files 2019-04-11 12:07:52 -07:00
Karthik Ravi Shankar 2554f122c1 Remove unecessary files 2019-04-11 12:06:41 -07:00
Karthik Ravi Shankar 973fa6950e Fold Channel into grpc_impl from grpc namespace 2019-04-11 12:04:23 -07:00
Vijay Pai ea59977fbc
Merge pull request #18687 from vjpai/cancel_order
C++ Callback API: Make sure that OnCancel happens after OnStarted
2019-04-10 16:15:43 -07:00
Karthik Ravi Shankar 2e88231fc0
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server"" 2019-04-10 15:04:05 -07:00
Soheil Hassas Yeganeh e85dd2e644 Fix build errors 2019-04-10 14:15:28 -07:00
Karthik Ravi Shankar f03b309787 Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
This reverts commit dc1089a6d1, reversing
changes made to 31843787cc.

This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"

This reverts commit df4b6a763d, reversing
changes made to dc1089a6d1.
2019-04-10 13:54:05 -07:00
Karthik Ravi Shankar dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace.""" 2019-04-10 12:14:04 -07:00
Vijay Pai 41c6cba9f5 Make sure that OnCancel happens after OnStarted 2019-04-10 11:32:34 -07:00
Karthik Ravi Shankar 891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue." 2019-04-10 10:22:59 -07:00
SataQiu 44f92cdd17 clean up repeated words 2019-04-10 16:25:25 +08:00
Karthik Ravi Shankar d2b2f7f5a3 Merge branch 'master' into completion-queue-fold 2019-04-09 13:44:33 -07:00
Karthik Ravi Shankar 918cb46011
Merge pull request #18198 from grpc/revert-18076-revert-17797-channel
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
2019-04-09 13:34:02 -07:00
hcaseyal ca11dfb349
Merge pull request #18686 from hcaseyal/callback_doc
Update callback API documentation
2019-04-09 12:45:06 -07:00
Karthik Ravi Shankar 506ca7fc36 Fix clang script errors 2019-04-09 11:51:39 -07:00
Karthik Ravi Shankar b84d3db762 Fix build after merge from master 2019-04-09 11:11:09 -07:00
Karthik Ravi Shankar afd602ccba Merge branch 'master' into completion-queue-fold 2019-04-09 10:46:03 -07:00
Karthik Ravi Shankar 5a08d2aae7 Merge branch 'master' into revert-18076-revert-17797-channel 2019-04-09 08:22:37 -07:00
Karthik Ravi Shankar 53c5bf5ced Merge branch 'master' into revert-18076-revert-17797-channel 2019-04-08 16:04:24 -07:00
Soheil Hassas Yeganeh a26c09dd25 Introduce C++ wrappers for gpr_mu and gpr_cv.
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.

Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.

Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
2019-04-08 18:27:07 -04:00
Karthik Ravi Shankar 4cb0d0d6b1 Fix errors from clang scripts 2019-04-08 13:41:19 -07:00
Karthik Ravi Shankar 991409798c Fix clang script errors 2019-04-08 13:09:41 -07:00
Karthik Ravi Shankar 9875fabdd4 Merge branch 'master' into revert-18076-revert-17797-channel 2019-04-08 12:55:07 -07:00
Karthik Ravi Shankar 958f373d32 Merge branch 'master' into grpc_namespace_server 2019-04-08 12:42:37 -07:00
Karthik Ravi Shankar 0141f9a55b Merge branch 'master' into grpc_namespace_channel_arguments 2019-04-08 11:59:28 -07:00
Karthik Ravi Shankar 68905e559e
Merge pull request #18510 from grpc/revert-18502-revert-18242-grpc_namespace_serverbuilder
Revert "Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder""
2019-04-08 11:09:42 -07:00
Hope Casey-Allen b86e70592e Format 2019-04-08 10:13:17 -07:00
Hope Casey-Allen cee3292cdf Update callback API documentation 2019-04-08 09:11:04 -07:00
Moiz Haidry ca209ae00e Fix typo in server credentials impl header file 2019-04-05 09:33:40 -07:00
Karthik Ravi Shankar 9b42ab79e0 Make build fixes for bazel build :all 2019-04-04 16:40:16 -07:00
Karthik Ravi Shankar f01997b377 Merge branch 'master' into grpc_namespace_channel_arguments 2019-04-04 16:31:42 -07:00
Karthik Ravi Shankar c50dd23ea7 Merge branch 'master' into grpc_namespace_server 2019-04-04 15:56:09 -07:00