David G. Quintas
b410f80bc4
Merge pull request #7746 from dgquintas/lb_add_md
...
Updates to gRPC LB
2016-09-15 14:30:24 -07:00
Yuchen Zeng
b4bca54aa2
Clang-format
2016-09-15 11:38:36 -07:00
Makarand Dharmapurikar
1ed0b8e3d7
Add interop test for Cacheable Unary Calls
...
modified interop test spec doc
added CacheableUnaryCall to test.proto
modified server and client implmenentations to support new method
2016-09-14 15:01:16 -07:00
David Garcia Quintas
f47d6fbdcc
More PR comments
2016-09-14 12:59:17 -07:00
Craig Tiller
762e72ef7b
Merge github.com:grpc/grpc into direct-calls
2016-09-14 11:16:51 -07:00
Craig Tiller
9e1c2d2358
Dont start requests until all clients have gotten connected
2016-09-14 08:37:10 -07:00
Craig Tiller
531976a6d4
Add an initial mark that clients could use to delay startup of requests
2016-09-14 08:28:37 -07:00
Craig Tiller
a51f54192a
Merge pull request #7559 from dgquintas/codegen_cleanse
...
Removed references to public APIs from codegen/
2016-09-13 19:40:43 -07:00
David Garcia Quintas
35c2aba849
More PR comments.
...
Mainly, removed all user_data memory management responsibilities from
the round robin policy.
2016-09-13 15:28:09 -07:00
Mark D. Roth
f5afcd9f65
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-13 14:57:50 -07:00
David Garcia Quintas
ebe7c17613
Merge branch 'master' of github.com:grpc/grpc into lb_add_md
2016-09-12 22:57:29 -07:00
yang-g
9979b026ab
Merge remote-tracking branch 'upstream/master' into void_cast
2016-09-12 14:53:32 -07:00
Craig Tiller
daa61e0c68
Merge branch 'revert-8068-revert-7279-grand-unified-closures' of github.com:grpc/grpc into merge-rollback
2016-09-12 12:00:26 -07:00
Yuchen Zeng
330848f542
Add header guard
2016-09-12 11:28:42 -07:00
Yuchen Zeng
38b1287d2d
Fix protobuf dependency
2016-09-12 11:23:16 -07:00
Yuchen Zeng
8d5f5e080b
Fix portability issues
2016-09-12 11:18:26 -07:00
Yuchen Zeng
3951f2e05b
Merge remote-tracking branch 'upstream/master' into cli_list
2016-09-12 11:11:32 -07:00
Yuchen Zeng
75e3ce645c
Fix portability issues
2016-09-12 11:11:29 -07:00
Nicolas Noble
e57904bf7b
Merge pull request #7929 from yang-g/externC
...
The public headers already have extern C
2016-09-12 00:31:17 -07:00
Craig Tiller
44b12f9e23
clang-format
2016-09-08 10:06:14 -07:00
Craig Tiller
aef13f78c7
Merge branch 'grand-unified-closures' into direct-calls
2016-09-08 10:05:42 -07:00
Mark D. Roth
ebfcd97940
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-08 07:16:34 -07:00
Nicolas "Pixel" Noble
5928bff0c7
Merge branch 'v1.0.x' of https://github.com/grpc/grpc into manual-upmerge
2016-09-08 01:58:49 +02:00
Craig Tiller
cd1feaab30
Merge pull request #7816 from ctiller/benchmark-verbosity
...
Increase log verbosity for benchmark driver
2016-09-07 14:33:56 -07:00
Craig Tiller
0cb5a89d6f
Merge branch 'benchmark-verbosity' into direct-calls
2016-09-07 14:25:38 -07:00
Craig Tiller
bd37a21c26
Cleanup, debug support
2016-09-07 11:28:56 -07:00
Mark D. Roth
7bfa1a8343
Merge remote-tracking branch 'upstream/master' into max_send_size_filter
2016-09-06 10:44:32 -07:00
Mark D. Roth
c99fd89d32
Increase max send message size on server used in objc tests.
2016-09-06 08:16:13 -07:00
David Garcia Quintas
d10f1775eb
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-09-03 12:42:02 +02:00
Craig Tiller
56f21aa79c
Merge branch 'grand-unified-closures' into who-combines-the-combiners
2016-09-02 09:29:43 -07:00
kpayson64
8d40e083f1
Merge pull request #7018 from vjpai/fc_unary
...
Support server-side streaming of a unary RPC
2016-09-02 09:15:14 -07:00
David Garcia Quintas
e44902ecc9
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-09-02 15:27:33 +02:00
David Garcia Quintas
d1a47f1627
Merge branch 'master' of github.com:grpc/grpc into lb_add_md
2016-09-02 12:46:44 +02:00
murgatroid99
7c5befd86b
Change UnimplementedService to UnimplementedEchoService in echo.proto
2016-09-01 17:09:47 -07:00
kpayson64
0719810df8
Merge pull request #7914 from y-zeng/cli_main_fork
...
Improve gRPC CLI
2016-09-01 12:55:01 -07:00
David Garcia Quintas
b8245bd231
Merge branch 'master' of github.com:grpc/grpc into lb_add_md
2016-09-01 18:29:46 +02:00
David Garcia Quintas
410208c25c
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-09-01 18:23:55 +02:00
Vijay Pai
3703ece81b
a golden file
2016-08-30 12:13:39 -07:00
Vijay Pai
d05cad245a
Fix golden test
2016-08-30 10:22:06 -07:00
yang-g
7c2887187b
The public headers already have extern C
2016-08-30 10:12:28 -07:00
yang-g
4335e11951
Prevent some compilers compaining unused return value
2016-08-30 10:09:08 -07:00
David Garcia Quintas
f3581bf90a
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-08-30 04:45:50 -07:00
Vijay Pai
48c9ca2bf1
Update golden file
2016-08-29 17:10:18 -07:00
Yuchen Zeng
7176a828c5
Use --protofiles
2016-08-29 17:04:50 -07:00
Vijay Pai
d4d5f4cd53
clang-format
2016-08-29 16:59:21 -07:00
Vijay Pai
a9c0d7f88b
Change names to StreamedUnary, ServerUnaryStreamer, etc. Use a templated method handler since most code shared between the new StreamedUnary and the existing BidiStreaming. Eliminate the separate enum case for streamed unary. Return a status failure if a StreamedUnary method handler doesn't actually do a write (since that is
...
violating the appearance of unary-ness)
2016-08-29 16:42:04 -07:00
David Garcia Quintas
51f066c585
Merge branch 'master' of github.com:grpc/grpc into lb_add_md
2016-08-29 11:57:40 -07:00
Yuchen Zeng
20d6a10483
Use grpc::protobuf
2016-08-29 10:54:52 -07:00
Yuchen Zeng
94d786fd4c
Add type command
2016-08-26 16:23:29 -07:00
Yuchen Zeng
387afd70d3
Add list command
2016-08-26 14:25:21 -07:00
Mark D. Roth
366c6ceb8c
Merge remote-tracking branch 'upstream/master' into run_interop_tests_go
2016-08-26 13:01:15 -07:00
Vijay Pai
ac4113bef1
Merge branch 'master' into fc_unary
2016-08-25 14:49:18 -07:00
Mark D. Roth
7f9bba8ce1
Fix some more tests that called cq_expect_completion().
2016-08-25 08:35:42 -07:00
David Garcia Quintas
ba641f48d7
Updated grpclb API test.
2016-08-24 06:53:43 -07:00
David Garcia Quintas
880064586d
Removed direct include of arpa/inet.h
2016-08-24 06:53:23 -07:00
yang-g
56fb16d49f
Add missing header
2016-08-23 12:40:02 -07:00
David Garcia Quintas
8a81aa12fb
Changes to grpclb and tests for binary ip addresses.
2016-08-22 15:06:49 -07:00
murgatroid99
6257159a3a
Merge branch 'port_platform_split' into uv_core_transport
2016-08-22 14:57:22 -07:00
Craig Tiller
102fa966b6
Rename some files to avoid conflicting .obj files on Windows
2016-08-22 13:56:36 -07:00
Craig Tiller
8ef0eda856
Merge github.com:grpc/grpc into merge-parse
2016-08-22 11:39:08 -07:00
Sree Kuchibhotla
86edf01593
Merge
2016-08-22 10:01:35 -07:00
Craig Tiller
daf4699652
Merge pull request #6732 from ctiller/consistent_client_count
...
Make client_channels be across all clients, not per-client
2016-08-22 08:34:38 -07:00
Craig Tiller
74a1d9a939
Increase log verbosity for benchmark driver
2016-08-22 08:33:02 -07:00
David Garcia Quintas
ef4d2a51d4
Merge branch 'fix_grpclb_aug' into lb_add_md
2016-08-18 15:04:45 -07:00
David Garcia Quintas
80763dd7c4
Merge branch 'master' of github.com:grpc/grpc into lb_add_md
2016-08-18 15:04:25 -07:00
David Garcia Quintas
601bb128b4
Fixed op ordering in grpclb internal client
2016-08-18 15:03:59 -07:00
Craig Tiller
378ffd8cc3
Merge github.com:grpc/grpc into merge-parse
2016-08-18 13:03:23 -07:00
kpayson64
9429717fc3
Merge pull request #7735 from y-zeng/cli_main_fork
...
Improve gRPC CLI
2016-08-17 17:02:40 -07:00
Yuchen Zeng
25aa88af94
Address review comments
2016-08-16 10:50:40 -07:00
David Garcia Quintas
5b0e9462f0
Introduced LB token initial metadata propagation
2016-08-15 23:02:33 -07:00
Yuchen Zeng
2bf9913323
Fix wrongly included header
2016-08-15 18:34:43 -07:00
Yuchen Zeng
9bf906234e
Clang-format
2016-08-15 17:28:13 -07:00
Yuchen Zeng
302763f898
Address review comments
2016-08-15 17:25:57 -07:00
kpayson64
0c6cce12b4
Merge pull request #7648 from vjpai/qps_better_ptr
...
Use unique_ptr properly in QPS async tests
2016-08-15 13:02:44 -07:00
Yuchen Zeng
02139a05dc
Add CliCredentials, config_grpc_cli.h
2016-08-15 11:34:21 -07:00
Craig Tiller
99bef209bd
Merge branch 'grand-unified-closures' into offload
2016-08-15 11:07:14 -07:00
kpayson64
1748ba6d6d
Merge pull request #7652 from vjpai/qps_better_client_ending
...
Better client-side ending for QPS tests
2016-08-15 11:02:23 -07:00
Yuchen Zeng
26386e1fa0
Merge remote-tracking branch 'upstream/master' into cli_main_fork
2016-08-15 10:27:03 -07:00
Yuchen Zeng
4272cac7ae
Rewrite ProtoFileParser
2016-08-12 15:25:46 -07:00
Craig Tiller
ca04562286
Timing nuances
2016-08-09 08:38:03 -07:00
murgatroid99
623dd4f556
Renamed GPR_ constants to GRPC_ in iomgr/port.h
2016-08-08 17:31:27 -07:00
murgatroid99
5407089b37
Separate out iomgr-specific constants into a separate header
2016-08-08 17:01:18 -07:00
Vijay Pai
f50020ce03
Appease the const gods, improve readability, stop using 0 and 1 as
...
proxies for false and true.
2016-08-08 07:29:31 -07:00
kpayson64
50be893eba
Merge pull request #6915 from markdroth/filter_api
...
Implement C++ API for defining channel filters.
2016-08-05 15:11:18 -07:00
Vijay Pai
d02988d6b5
clang-format
2016-08-05 09:47:47 -07:00
Vijay Pai
25128f1adf
Better ending for open-loop tests: never wait more than 1 second
...
if we are in termination mode
2016-08-05 09:45:03 -07:00
Vijay Pai
773ecd62dd
Dramatically reduce time required to complete sync test when running
...
with lots of threads (by parallelizing shutdown of course)
2016-08-05 09:26:56 -07:00
Vijay Pai
4f17395b81
Properly use unique_ptr rather than explicitly
...
deleting server context wrappers in QPS test
2016-08-05 01:32:34 -07:00
Vijay Pai
a8bb63e711
Merge branch 'master' into fc_unary
2016-08-04 13:41:45 -07:00
Vijay Pai
6d214bcff7
Add FCService to golden test
2016-08-04 12:03:12 -07:00
Vijay Pai
5d94118d0d
clang-format
2016-08-04 11:48:47 -07:00
Vijay Pai
ff91dea149
Be able to specify FCUnaryService just like AsyncService so that all
...
relevant methods get treated this way.
2016-08-04 11:07:50 -07:00
Vijay Pai
666681612e
Merge branch 'master' into fc_unary
2016-08-04 09:44:51 -07:00
Nicolas "Pixel" Noble
ca1558753a
Merge branch 'master' of https://github.com/grpc/grpc into interop_server_split
2016-08-04 00:30:37 +02:00
David Garcia Quintas
e60ae9c967
deflake grpclb_test
2016-08-02 16:37:41 -07:00
Mark D. Roth
85c1168d17
Merge remote-tracking branch 'upstream/master' into filter_api
2016-08-02 14:07:00 -07:00
Vijay Pai
18983f8e38
Merge pull request #7590 from vjpai/affinity_optional
...
Don't assert if we're not able to set CPU affinity
2016-08-02 10:28:08 -07:00
David Garcia Quintas
1f32ae4e84
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
2016-08-02 10:24:44 -07:00
Mark D. Roth
3ac6fc1b97
Merge branch 'filter_call_init_failure' into filter_api
2016-08-02 10:07:48 -07:00
Nicolas "Pixel" Noble
4e7259dcaa
Merge branch 'master' of https://github.com/grpc/grpc into interop_server_split
2016-08-02 18:32:05 +02:00
Sree Kuchibhotla
7bc8b848c0
Merge branch 'master' into rpc_mgr
2016-08-01 21:41:19 -07:00
David Garcia Quintas
d9cee6f2ac
moar clang-format
2016-08-01 17:42:47 -07:00
David Garcia Quintas
87e06c84fd
Merge branch 'master' of github.com:grpc/grpc into grpclb_v0
2016-08-01 11:02:22 -07:00
Vijay Pai
96b7b52190
Fix exit condition
2016-08-01 09:33:38 -07:00
Vijay Pai
6e5c33c3e2
Don't assert if we're not able to set affinity for some reason
2016-07-30 02:56:46 -07:00
David Garcia Quintas
4166cb06ea
Addressed the rest of the PR comments
2016-07-29 14:38:25 -07:00
Nicolas "Pixel" Noble
8302b123de
Merge branch 'v1.0.x' into manual-upmerge
...
Conflicts:
src/ruby/pb/test/client.rb
src/ruby/pb/test/server.rb
tools/dockerfile/test/php7_jessie_x64/Dockerfile
2016-07-29 22:48:16 +02:00
Sree Kuchibhotla
e3a282e90d
Merge branch 'master' into rpc_mgr
2016-07-29 09:54:24 -07:00
David Garcia Quintas
c79b0650d2
removed codegen/log.h
2016-07-27 21:11:58 -07:00
David Garcia Quintas
1399e466b0
removed codegen/time.h
2016-07-27 20:31:55 -07:00
David Garcia Quintas
6b11462da1
removed codegen/alloc.h
2016-07-27 14:49:53 -07:00
Vijay Pai
2d04dd827c
Change API for next message size to allow a bool return value for failure
...
cases.
2016-07-27 11:35:56 -07:00
Vijay Pai
efef0d29c5
Merge pull request #7380 from nicolasnoble/no-c++11-threads
...
Avoid using certain C++11-isms with grpc::thread, as it's not necessarily std::thread.
2016-07-27 09:28:15 -07:00
Yuchen Zeng
68ca351126
Fix sanity issues
2016-07-26 16:48:46 -07:00
Yuchen Zeng
f4046cdced
Fix thread leak
2016-07-26 12:22:42 -07:00
Yuchen Zeng
e7068c836e
Remove references to string_ref_helper
2016-07-25 17:30:45 -07:00
Yuchen Zeng
36a6fe6052
Merge remote-tracking branch 'upstream/master' into cli_main
2016-07-25 15:51:10 -07:00
Yuchen Zeng
724a4e253a
Add header guard
2016-07-25 14:56:06 -07:00
Nicolas "Pixel" Noble
bc0b08892f
Merge branch 'master' of https://github.com/grpc/grpc into interop_server_split
...
Conflicts:
Makefile
2016-07-25 23:51:01 +02:00
Yuchen Zeng
28263275f0
Remove unnecessary dependencies
2016-07-25 14:38:07 -07:00
kpayson64
cc961b6c5a
Merge pull request #7020 from rjshade/assert_not_expect
...
ASSERT vector size before directly accessing first element
2016-07-25 14:36:11 -07:00
kpayson64
b5fa72c89e
Merge pull request #7451 from y-zeng/seperate_generated_files
...
Separate generated pb files from the server reflection build target, use grpc::protobuf instead of google::protobuf
2016-07-25 14:32:51 -07:00
Nicolas "Pixel" Noble
c326407379
Merge branch 'master' of https://github.com/grpc/grpc into interop_server_split
2016-07-25 21:51:59 +02:00
Yuchen Zeng
29ca79be89
Command processing, validation
2016-07-25 12:00:08 -07:00
Sree Kuchibhotla
6d977638f7
Merge branch 'master' into rpc_mgr
2016-07-22 11:54:01 -07:00
kpayson64
b8208ff79a
Merge pull request #7269 from y-zeng/cli_call
...
Support server reflection in CLI
2016-07-21 17:11:36 -07:00
Vijay Pai
0a1c598986
Merge branch 'master' into fc_unary
2016-07-21 11:34:02 -07:00
Nicolas Noble
f6aefa3ea6
Merge pull request #7400 from yang-g/ga_branch2
...
Cherrypick #7319 into v1.0.x
2016-07-21 11:28:44 -07:00
Yuchen Zeng
9cb9445155
Addressed review comments
2016-07-20 16:39:31 -07:00
Yuchen Zeng
6b88b22d9e
Add comments for GRPC_NO_GENERATED_CODE
2016-07-19 19:12:46 -07:00
Yuchen Zeng
77b74258b5
Revert unnecessary deletions
2016-07-19 11:53:37 -07:00
Sree Kuchibhotla
0ba41907a2
Minor changes to GrpcRpcManager
2016-07-19 09:28:39 -07:00
Craig Tiller
77c7f9fd62
Merge pull request #7407 from ctiller/delayed-write
...
Benchmark fixes
2016-07-19 09:26:04 -07:00
Craig Tiller
5ca7e47493
Merge pull request #6737 from ctiller/delayed-write
...
Delay beginning most writes until we enter poll()
2016-07-19 09:25:49 -07:00
Sree Kuchibhotla
8600438d54
Add more functionality (no cq integration yet) and add a dummy test
2016-07-19 02:00:50 -07:00
Nicolas "Pixel" Noble
6570b83c9c
Splitting interop_server.cc
2016-07-18 23:42:35 +02:00
Yuchen Zeng
1318479011
Separate generated file and protobuf dependency
2016-07-18 13:07:42 -07:00
David Garcia Quintas
a26c77b314
added another TODO to grpclb_test
2016-07-18 12:57:13 -07:00
David Garcia Quintas
1d5cb2ad8a
Improvements to the grpclb proto API funcs
2016-07-18 12:56:53 -07:00
Robbie Shade
c51a4833ce
Merge branch 'master' into assert_not_expect
2016-07-15 15:06:14 -04:00
Mark D. Roth
30a4a544be
Merge branch 'filter_call_init_failure' into filter_api
2016-07-15 09:16:05 -07:00
David Garcia Quintas
8b3b97f99d
Added a tiny comment header and TODOs.
2016-07-15 07:46:47 -07:00
Craig Tiller
ad94fdfe51
Fix compile error
2016-07-15 06:42:29 -07:00
Craig Tiller
b23239b6d8
Merge branch 'histo' of github.com:vjpai/grpc into delayed-write
2016-07-15 06:37:41 -07:00
yang-g
807387641f
prevent spurious wake up and unstarted/already shutdown server
2016-07-14 22:59:39 -07:00
Craig Tiller
13d3e3b7e2
Merge pull request #6737 from ctiller/delayed-write
...
Delay beginning most writes until we enter poll()
2016-07-14 19:31:47 -07:00
kpayson64
27a02b5d9d
Merge pull request #7319 from yang-g/wait_async
...
Make Server::Wait work for async only server.
2016-07-14 18:26:25 -07:00
David Garcia Quintas
ea11d168c7
Added more docs.
...
And fixed behavior when incoming serverlist has zero servers. Previously we
ignored the update. Currently (and correctly) we consider it but the pick itself
will stay pending until we actually have > 0 servers in the incoming serverlist.
2016-07-14 17:27:32 -07:00
yang-g
6ec11f2acd
prevent spurious wake up and unstarted/already shutdown server
2016-07-14 14:53:35 -07:00
David Garcia Quintas
7c3ba12813
Merge branch 'master' of github.com:grpc/grpc into grpclb_v0
2016-07-14 14:13:41 -07:00
Craig Tiller
0a06cd7b68
Cleanup from code review
2016-07-14 13:21:24 -07:00
yang-g
05573f1692
Make Server::Wait work for async only server.
2016-07-13 22:23:19 -07:00
Vijay Pai
5fde20d9f0
clang-format
2016-07-13 19:25:59 -07:00
Vijay Pai
40317fd720
Resolve pernicious race between destructor and thread functions by insisting that destructor is invoked after the class has gone back to being a harmless single-threaded thing.
2016-07-13 19:20:25 -07:00
Nicolas "Pixel" Noble
e053e730d2
Avoid using certain C++11-isms with grpc::thread, as it's not necessarily std::thread.
2016-07-14 00:42:07 +02:00
Craig Tiller
8da7b1f779
Fix some failures
2016-07-13 15:06:00 -07:00
Vijay Pai
ad7c527618
Temporary workaround by setting up a deadline on server shutdown.
...
This reveals an issue that needs to be solved:
D0713 14:48:28.049861213 14503 server.c:704] Waiting for 44 channels and 0/1 listeners to be destroyed before shutting down server
2016-07-13 14:51:44 -07:00
Craig Tiller
d4c5bd8512
Merge github.com:grpc/grpc into delayed-write
2016-07-13 13:46:05 -07:00
Vijay Pai
a831651aa5
Unify and make consistent the per-thread shutdown process
2016-07-13 10:32:26 -07:00
Craig Tiller
b5ee1cdcb9
Dont stall shutting down server
2016-07-13 08:39:35 -07:00
Craig Tiller
38fb8de100
get timeouts working on run_tests.py again
2016-07-13 08:23:32 -07:00
Craig Tiller
e64d693050
Better fine-tuning
2016-07-12 20:53:16 -07:00
Craig Tiller
61e2040de0
Get json_run_localhost working again
2016-07-12 17:26:52 -07:00
Craig Tiller
72376da8ba
Get json_run_localhost working again
2016-07-12 17:14:37 -07:00
Craig Tiller
9e3691c5bd
Actually run json_run_localhost tests
2016-07-12 16:29:46 -07:00
Craig Tiller
b19dbead67
Make request freelists per cq, to allow drastically higher requested call counts
2016-07-12 15:33:11 -07:00
Mark D. Roth
14bed44db2
Merge remote-tracking branch 'upstream/master' into filter_api
2016-07-12 14:09:41 -07:00
Craig Tiller
1d03e100eb
Ensure timely response to marks
2016-07-12 09:50:56 -07:00
yang-g
3e63b4ee7e
Merge remote-tracking branch 'upstream/master' into slice
2016-07-12 08:36:26 -07:00
yang-g
e89dc6ceb6
Make Server::Wait work for async only server.
2016-07-11 15:48:01 -07:00
Craig Tiller
026754f489
Merge github.com:grpc/grpc into delayed-write
2016-07-11 12:31:14 -07:00
Mark D. Roth
4f0b06e747
Move use of nullptr into grpc namespace, so that the hack in config.h
...
can be used.
2016-07-11 09:29:56 -07:00
Mark D. Roth
33e5cbbbb8
Add include to fix gcc-4.4 problem.
2016-07-11 08:00:28 -07:00
Vijay Pai
f782465fba
Fix some shutdown errors related to CQ/join ordering
2016-07-08 10:33:10 -07:00
Vijay Pai
aa8bbeb6c6
Merge branch 'verbose_errors' into histo
2016-07-08 09:41:59 -07:00
Vijay Pai
f373f2cf8b
Stop holding histogram for a long time
2016-07-08 09:40:55 -07:00
Yuchen Zeng
c68640f05c
Read from stdin
...
Read from stdin if the request text and binary file are not provided
2016-07-07 16:42:32 -07:00
Craig Tiller
fbf03c1735
Fix high seqno tests, up runtimes for benchmark tests to flush more bugs
2016-07-07 13:10:09 -07:00
Yuchen Zeng
a17c8d993d
Fix typos
2016-07-07 11:40:05 -07:00
Yuchen Zeng
c24e0ee4f0
Update docs
2016-07-07 11:32:25 -07:00
Yuchen Zeng
256cc7aa03
Support server reflection in CLI
2016-07-07 11:09:49 -07:00
Vijay Pai
ceb1a7d79f
Add more information so that we can have a meaningful exit code
2016-07-07 11:06:04 -07:00
Craig Tiller
6c8619bbe7
Better fix for flow control bug
2016-07-07 10:41:48 -07:00
Sree Kuchibhotla
9181754cd9
Merge branch 'master' into stress_test_metrics_fix
2016-07-07 09:39:45 -07:00
Mark D. Roth
b9151e3c0b
Use separate client context object for full duplex call.
2016-07-07 08:36:26 -07:00
Mark D. Roth
dbf2adc980
Fix C++ status_code_and_message test to comply with the spec.
...
Enable C++ test in run_interop_tests.py.
2016-07-07 08:19:27 -07:00
vjpai
b0f15e8af3
Reduce assertions, use status codes, increase verbosity on errors
2016-07-06 13:57:01 -07:00
Mark D. Roth
98aa0c13f0
Merge branch 'filter_call_init_failure' into filter_api
2016-07-01 14:17:55 -07:00
Craig Tiller
eda85c6765
Expunge all references to zookeeper
2016-07-01 12:45:19 -07:00
Sree Kuchibhotla
d2a4fd4385
Merge branch 'master' into stress_test_metrics_fix
2016-06-30 14:17:51 -07:00
Mark D. Roth
ab950ee7c5
Move channel_filter.h from include/ tree to src/ tree.
2016-06-29 14:51:53 -07:00
Sree Kuchibhotla
18a0e47970
Fix cout error string
2016-06-29 12:04:09 -07:00
Mark D. Roth
89ebe55985
Merge branch 'filter_call_init_failure' into filter_api
2016-06-29 07:50:18 -07:00
Craig Tiller
346da5f346
Merge github.com:grpc/grpc into consistent_client_count
2016-06-28 14:09:08 -07:00
David Garcia Quintas
78fbb0a301
added some includes
2016-06-28 14:02:41 -07:00
Craig Tiller
f0255d4d9c
Merge pull request #7095 from ctiller/all_calls_together
...
Colocate calls for the same channel on the same CQ
2016-06-28 12:27:01 -07:00
David Garcia Quintas
c534b0d121
make gcc 4.4 happy
2016-06-28 11:48:05 -07:00
David Garcia Quintas
390673ae1b
clang-format
2016-06-28 10:38:19 -07:00
Sree Kuchibhotla
ad57b266c7
Fix metrics client logging
2016-06-27 20:46:37 -07:00
Jan Tattermusch
11015b43af
Merge pull request #7019 from dgquintas/wrong_msg_interop_client_cpp
...
Fixed error messages for C++ interop client.
2016-06-27 16:21:22 -07:00
Craig Tiller
5b47ac385b
Colocate calls for the same channel on the same CQ
2016-06-27 15:47:17 -07:00
David Garcia Quintas
193a5c737f
printf portability sucks
2016-06-27 11:30:10 -07:00
Mark D. Roth
07cd9c9e06
Initial attempt at a C++ wrapper for the C grpc_transport_op and
...
grpc_transport_stream_op structs.
2016-06-27 10:14:38 -07:00
Craig Tiller
f467846b1b
Merge github.com:grpc/grpc into reuse_port
2016-06-26 09:54:53 -07:00
Jan Tattermusch
a5cae9bd64
Merge pull request #6798 from jboeuf/fix_3803
...
Fix #3803
2016-06-24 16:14:02 -07:00
yang-g
a324c4fea6
Add API to get c slice from c++ Slice.
2016-06-24 11:59:35 -07:00
vjpai
9959f3d0ec
Fix the golden file - why do we even have this lever?
2016-06-23 23:19:15 -07:00
vjpai
c0c38b1f19
Make the FCUnary class actually work and test it
2016-06-23 17:27:11 -07:00
vjpai
fcb98a578c
Add NextMessageSize method to all readable streams as an upper-bound
...
on the actual message size.
Rename Size of FCUnary to NextMessageSize for consistency
2016-06-23 13:18:50 -07:00
Craig Tiller
c074408bd3
Merge github.com:grpc/grpc into consistent_client_count
2016-06-23 11:57:26 -07:00
David Garcia Quintas
83a6a828b0
Fixed error messages for C++ interop client.
2016-06-23 11:33:13 -07:00
Robbie Shade
820c1f3fda
ASSERT vector size before directly accessing first element
2016-06-23 14:31:28 -04:00
David Garcia Quintas
f9f856bb89
Added todos for more grpclb tests.
2016-06-22 18:25:53 -07:00
David Garcia Quintas
aaba131346
finally got rid of external deps to generate the lb response proto
2016-06-22 18:10:37 -07:00
Craig Tiller
5856dee7d6
Fix compile
2016-06-22 16:30:22 -07:00
Craig Tiller
88a3e93f0d
Better distribution
2016-06-22 08:18:07 -07:00
Craig Tiller
7e5d46496b
Better distribution
2016-06-22 08:17:27 -07:00
Craig Tiller
d82a5b66c7
Merge github.com:grpc/grpc into reuse_port
2016-06-22 08:08:45 -07:00
David Garcia Quintas
446f70e384
fixed faulty server streaming c++ test case
2016-06-21 17:13:28 -07:00
David Garcia Quintas
dacce7a1e1
fixed bad merge. c++ tests should work again
2016-06-21 16:40:20 -07:00
David Garcia Quintas
69a9024032
Merge branch 'grpclb_v0' of github.com:dgquintas/grpc into grpclb_v0
2016-06-21 14:52:10 -07:00
David Garcia Quintas
55145c03d2
first step in transforming grpclb_test to C++
2016-06-21 14:51:54 -07:00
Craig Tiller
04a468122f
Add comment
2016-06-21 09:16:57 -07:00
Craig Tiller
d263b925e8
Make sure to poll cq
2016-06-21 09:15:57 -07:00
David Garcia Quintas
50c5511a9b
Merge branch 'master' of github.com:grpc/grpc into simplify_compression_interop
2016-06-17 19:01:03 -07:00
David Garcia Quintas
3c65d24fab
updated stress test with new tests cases
2016-06-17 15:18:18 -07:00
Vijay Pai
ddf694cc62
Merge branch 'master' into wheezy
2016-06-17 13:41:38 -07:00
Vijay Pai
6ab4788ae9
clang-format changes
2016-06-17 00:31:23 -07:00
David Garcia Quintas
8375c0daea
Merge branch 'master' of github.com:grpc/grpc into simplify_compression_interop
2016-06-16 18:43:19 -07:00
Jan Tattermusch
3e45ed1c9a
Merge pull request #6838 from vjpai/trigger_happy
...
Revert unneeded change in qps worker
2016-06-16 18:00:25 -07:00
Jan Tattermusch
ef03e53938
Merge pull request #6858 from makdharma/issue5851
...
implement interval_us functionality
2016-06-16 17:59:39 -07:00
David Garcia Quintas
909dd6ec8b
Merge branch 'master' of github.com:grpc/grpc into simplify_compression_interop
2016-06-16 17:03:40 -07:00
David Garcia Quintas
560875239e
c++ client & server changes to bring code up to spec
2016-06-16 16:52:11 -07:00
David Garcia Quintas
34f1b555ae
better test_case flag help formating
2016-06-16 16:51:20 -07:00
Mark D. Roth
9fe5ef5f9d
Removed unnecessary comments. Added connection counter to test.
2016-06-16 14:26:04 -07:00
Mark D. Roth
f5bbff9c8e
Fix portability issues.
2016-06-16 12:56:07 -07:00
Mark D. Roth
905227049b
Remove unnecessary code from test.
2016-06-16 11:40:25 -07:00
Mark D. Roth
f9c1f7a412
clang-format
2016-06-16 10:57:28 -07:00
Mark D. Roth
c008b33c18
Pass channel args to ChannelData ctor and ChannelData to CallData ctor.
2016-06-16 10:39:39 -07:00
Mark D. Roth
8a1a5976c7
Fixed test.
2016-06-16 10:22:26 -07:00
Mark D. Roth
c459ecf7c9
- fix build problems
...
- make changes suggested by reviewer
- add test (not working yet)
2016-06-16 09:17:49 -07:00
Vijay Pai
b31a9a0900
Include <cinttypes> for PRIuPTR. Not clear why this is needed.
2016-06-16 07:50:20 +00:00
Vijay Pai
6b668cc93f
Remove range-based for, comparisons to nullptr
2016-06-16 07:49:36 +00:00
Vijay Pai
b9e927afcc
Merge branch 'master' into wheezy
2016-06-15 22:57:21 -07:00
Vijay Pai
20bf126da6
clang-format
2016-06-15 22:21:48 -07:00
vjpai
e44d53757a
De-lambda-ify
2016-06-15 22:15:00 -07:00
Vijay Pai
679c75f0a6
Deal with issues surrounding const members of classes used in
...
containers
2016-06-15 13:10:32 -07:00
Vijay Pai
a63271c77f
Deal with to_string, proper usage of nullptr, and lack of map::emplace
2016-06-15 12:56:38 -07:00
Vijay Pai
12bf3801b8
Got carried away with grpc::
2016-06-15 11:24:10 -07:00
Vijay Pai
08e071abe0
Specify template parent explicitly
2016-06-15 10:58:15 -07:00
Vijay Pai
9aa5f23645
Switch out a using with a typedef
2016-06-15 10:50:23 -07:00
Vijay Pai
efa8430e39
Enforce gcc-4.4 compatibility on test_credentials_provider by changing
...
a map to 2 vectors. Additional minor changes needed (e.g., override->GRPC_OVERRIDE,
nullptr->grpc::nullptr)
2016-06-15 10:23:34 -07:00
Jan Tattermusch
8fb6c924b5
Merge pull request #6875 from y-zeng/log_check
...
Add format check for gpr_log and gpr_asprintf, add gpr_strpad
2016-06-14 19:31:05 -07:00
Jan Tattermusch
136307756c
Merge pull request #6438 from y-zeng/reflection_separate_lib
...
Proto server reflection
2016-06-13 14:16:06 -07:00
vjpai
97da6473b4
Manual clang-format
2016-06-13 09:56:26 -07:00
Yuchen Zeng
bcf5023bb6
Fix zookeeper_test
2016-06-10 16:22:57 -07:00
Yuchen Zeng
ed81a88c3e
Merge remote-tracking branch 'upstream/master' into log_format_check
2016-06-10 15:46:23 -07:00
Yuchen Zeng
beaa35724c
Fix type mismatch for type_size
2016-06-10 15:46:14 -07:00
Yuchen Zeng
0ba114408e
Fix gpr_log format mismatches in c++ tests
2016-06-10 15:15:44 -07:00
Vijay Pai
15855f3e7f
Switch server builder plugin API to something that will work with gcc4.4
2016-06-10 12:25:32 -07:00
Jan Tattermusch
698d3e91ff
Merge pull request #6822 from yang-g/empty_message_test
...
add a test with empty request
2016-06-09 17:22:10 -07:00
Makarand Dharmapurikar
509246f59b
implement interval_us functionality
...
Implemented ability to sleep before sending response as intended
by the ResponseParameters proto.
2016-06-09 16:28:02 -07:00
David Garcia Quintas
74686ce7c4
Completed interop spec, as well as code for c++
2016-06-09 15:33:33 -07:00
David Klempner
e27d189f21
Factor out json seriailzation code and move it into parse_json.
...
This is for the same reasons as ParseJson, that is so that we can limit
the scope of the proto namespace differences between internal and
external.
2016-06-08 17:11:26 -07:00
David Garcia Quintas
485cf40ab7
Fixed wrong spec and reworked streaming compressed case
2016-06-08 13:35:25 -07:00
vjpai
74e6e135e9
I was trigger-happy with changes to qps_worker in the hope of improving
...
stability. I believe that this change was unneeded and actually
may hurt matters by holding a lock for too long.
Partially undoes #5444 , particular commit e7042b5
2016-06-08 13:32:16 -07:00
David Garcia Quintas
20d802db98
removed unused vble
2016-06-07 22:04:10 -07:00
David Garcia Quintas
126ae106d6
fixed silly typo
2016-06-07 21:15:05 -07:00
David Garcia Quintas
d3ce0218d1
disabled bogus checks for streaming compressed
2016-06-07 18:45:21 -07:00
David Garcia Quintas
14f40b8b02
Merge branch 'master' of github.com:grpc/grpc into simplify_compression_interop
2016-06-07 18:00:53 -07:00
David Garcia Quintas
5756c8fead
removed RANDOM and simplified req for compression
2016-06-07 18:00:44 -07:00
Yuchen Zeng
d23710787b
Merge remote-tracking branch 'upstream/master' into reflection_separate_lib
2016-06-07 15:00:52 -07:00
yang-g
000aa457dc
add a test with empty request
2016-06-07 13:08:39 -07:00
Jan Tattermusch
570408fd4c
Merge pull request #6741 from yang-g/its_ok_to_have_no_read_on_cancelled_call
...
Let Next set ok=true when receiving error status
2016-06-07 10:54:02 -07:00
Yuchen Zeng
7ae31a8898
Add more comments, fix format issues
2016-06-06 14:35:51 -07:00
Yuchen Zeng
0601df3a04
Move reflection src/hdr to src/cpp/ext include/grpc++/ext
2016-06-06 13:08:06 -07:00
Yuchen Zeng
1495cb5b24
Addressed reveiw comments about naming
2016-06-06 10:58:29 -07:00
Julien Boeuf
38c0cdee34
Fix double-free issue for optional_message.
...
Also better end to end testing of plumbing of plugin error message.
2016-06-06 14:46:08 +02:00
yang-g
34b5861e5c
Spliting filegroup.
2016-06-03 17:51:00 -07:00
yang-g
aaee544d69
merge and resolve conflicts
2016-06-03 15:34:01 -07:00
yang-g
17487f9a22
Make grpc++ independent of protobuf
2016-06-03 15:21:15 -07:00
Yuchen Zeng
c8074527b2
Remove unnecessary headers
2016-06-03 14:36:11 -07:00
Jan Tattermusch
b0bb674df3
Merge pull request #6636 from yang-g/grpc_cli
...
Add proto file support in grpc_cli
2016-06-03 16:12:36 -04:00
Jan Tattermusch
05808c4208
Merge pull request #6731 from vjpai/beheader
...
Remove unused portions of C++ QPS testing
2016-06-03 16:09:51 -04:00
Jan Tattermusch
2ff798629c
Merge pull request #6664 from dklempner/server_builder_plugin_test
...
Fix a missing initialization
2016-06-02 20:28:39 -04:00
yang-g
15759f610e
Let Next set ok=true when receiving error status
2016-06-01 11:21:27 -07:00
Craig Tiller
d4aa7cf5a5
Fix negation
2016-05-31 13:59:25 -07:00
Craig Tiller
1adb13143f
Add comment
2016-05-31 13:04:32 -07:00
Craig Tiller
dbd03b5e2d
Make client_channels be across all clients, not per-client
2016-05-31 13:00:33 -07:00
vjpai
711472f846
Remove unused gflags and gtest includes
2016-05-31 12:57:38 -07:00
vjpai
d8364f7af5
Deprecate perf_db use
2016-05-31 12:54:04 -07:00
Yuchen Zeng
c92fe25af5
Add mutex for stream in ProtoReflectionDescriptorDatabase, fix headers check
2016-05-25 07:18:57 -07:00
Craig Tiller
e0ddc35aa3
Speed up tests
2016-05-23 15:57:48 -07:00
Craig Tiller
825cd4533c
Cleanup redundant tests
2016-05-23 15:54:38 -07:00
Craig Tiller
e67f7b6b54
Fix timeout on async server shutdown
...
Server was continuing to make requests for new calls forever, which were
starving out the shutdown sequence. Change order and win.
2016-05-23 14:50:24 -07:00
Craig Tiller
c4c6ecf8e9
Merge github.com:grpc/grpc into test_affine
2016-05-23 12:48:55 -07:00
Jan Tattermusch
b90e6c9b4a
Merge pull request #6670 from ctiller/guess_cpu
...
Better guesses at benchmarks turned unit tests cpu cost
2016-05-22 21:17:08 -04:00
Jan Tattermusch
d44b15a0c6
Merge pull request #6436 from jboeuf/credentials_refactoring
...
Refactoring the core security code.
2016-05-22 17:29:43 -04:00
Craig Tiller
bc7593de7a
Revert "Revert "Remove spam""
...
This reverts commit e76528ce26 .
2016-05-21 13:05:44 -07:00
Craig Tiller
34c6e87598
Simpler trick to force a listening cq
2016-05-21 13:05:01 -07:00
Craig Tiller
e76528ce26
Revert "Remove spam"
...
This reverts commit 3f3312e7e9 .
2016-05-21 12:43:17 -07:00
Craig Tiller
3f3312e7e9
Remove spam
2016-05-21 12:35:29 -07:00
Craig Tiller
ae09d9dca9
Fixes and code simplification
2016-05-20 22:23:37 -07:00
Yuchen Zeng
91c51a7aba
Add proto_server_reflection_test
2016-05-20 14:48:08 -07:00
Craig Tiller
c0cb23b885
Merge branch 'guess_cpu' into test_affine
2016-05-20 11:17:31 -07:00
Craig Tiller
bd24a4611f
Better guesses at benchmarks turned unit tests cpu cost
2016-05-20 11:15:58 -07:00
Craig Tiller
139040b8be
Merge github.com:grpc/grpc into test_affine
2016-05-20 10:56:52 -07:00
Craig Tiller
718ce51af8
Fix server plugin test
2016-05-20 10:44:23 -07:00
Craig Tiller
e004958fd6
Fix formatting, mem leak, stall
2016-05-20 10:31:09 -07:00
Craig Tiller
aae6c2cb96
Fix server plugin test
2016-05-20 08:58:30 -07:00
David Klempner
b941d5a4aa
Fix a missing initialization
2016-05-19 21:00:47 -07:00
yang-g
fe3e8b7313
remote unused member
2016-05-19 15:30:05 -07:00
Yuchen Zeng
ace4986e65
Update reflection implementation along with API changes
2016-05-19 15:10:22 -07:00
Jan Tattermusch
54140f9760
Merge pull request #6608 from yang-g/interop
...
Assert we get a valid creds.
2016-05-19 13:20:43 -07:00
Jan Tattermusch
1226387698
Merge pull request #6585 from ctiller/connect_first
...
Make qps workers connect before even warmup stage begins
2016-05-19 13:20:00 -07:00
Julien Boeuf
a4880374f9
Merge branch 'master' of github.com:grpc/grpc into credentials_refactoring
2016-05-18 22:12:43 -07:00
Jan Tattermusch
b9f11c3fa2
Merge pull request #6625 from sreecha/stress_test_misc
...
Misc changes to stress test framework (to reduce false positives and tools for debugging)
2016-05-18 18:41:35 -07:00
Craig Tiller
9766f4f424
Merge github.com:grpc/grpc into test_affine
2016-05-18 16:55:35 -07:00
yang-g
df012d048a
Add proto file support in grpc_cli
2016-05-18 16:15:15 -07:00
Jan Tattermusch
aa51f63da3
Merge pull request #6463 from dgquintas/fix_compression_interop
...
Fixed compression interop and re-enable for C++.
2016-05-18 07:29:04 -07:00
Sree Kuchibhotla
4dd02fc63c
Misc changes
2016-05-17 18:37:52 -07:00
Sree Kuchibhotla
eaa3072744
Make the rpc timeout configurable
2016-05-17 17:18:23 -07:00
Yuchen Zeng
749005efcc
Merge remote-tracking branch 'upstream/master' into reflection_separate_lib
2016-05-17 14:06:44 -07:00
yang-g
ed9ae72e7b
Assert we get a valid creds.
2016-05-16 14:09:23 -07:00
Craig Tiller
c3b88b079e
Better testing
2016-05-16 11:21:17 -07:00
Craig Tiller
1102faffca
Merge branch 'connect_first' into test_affine
2016-05-14 13:27:02 -07:00
Craig Tiller
f7a670fe6d
Merge branch 'server_channel_affinity' of github.com:sreecha/grpc into affine
2016-05-14 13:05:41 -07:00
David Klempner
6fb122dc6e
Add calls to grpc_recycle_unused_port to two of the tests which call
...
grpc_pick_unused_port a lot.
2016-05-13 15:24:17 -07:00
Craig Tiller
52237e3a96
clang-format
2016-05-13 14:37:25 -07:00
Craig Tiller
63d24f1c7d
Make qps workers connect before even warmup stage begins
2016-05-13 14:36:09 -07:00
Vijay Pai
b4cb249107
steaming -> streaming
2016-05-12 09:28:15 -07:00
Yuchen Zeng
f86bbdefc9
Merge pull request #6373 from y-zeng/server-builder-plugin
...
Server builder plugin
2016-05-11 17:26:29 -07:00
Jorge Canizales
86803d1dea
Merge pull request #6470 from yang-g/error_with_trailer
...
Add a C++ test for server returning error with debug info in trailer.
2016-05-11 14:12:38 -07:00
Jan Tattermusch
b85e9d43f0
fix formatting
2016-05-11 10:21:45 -07:00
Sree Kuchibhotla
088891119f
Merge branch 'master' into server_channel_affinity
2016-05-11 08:35:25 -07:00
Jan Tattermusch
d6dabf9e9d
Merge pull request #6449 from sreecha/stress_client_reconnects
...
Interop/Stress client that is resilient to server restarts
2016-05-10 20:35:22 -07:00
Julien Boeuf
19cd009ec1
clang-format
2016-05-10 15:27:48 -07:00
Julien Boeuf
bae6a4cb43
Merge branch 'master' of https://github.com/grpc/grpc into credentials_refactoring
2016-05-10 15:26:17 -07:00
Sree Kuchibhotla
8dbe2cb071
Merge branch 'master' into server_channel_affinity
2016-05-10 10:33:25 -07:00
yang-g
39e71c33d1
fix compiling error
2016-05-10 10:21:41 -07:00
Jan Tattermusch
fffd296bc5
Merge pull request #6279 from dgquintas/lb_proto_v1
...
Updated load balancer proto to v1
2016-05-10 10:15:42 -07:00
Yuchen Zeng
26a1785cfc
Resolve conflicts
2016-05-06 15:50:15 -07:00
Yuchen Zeng
7d099a5c90
Fix naming and comment problems
2016-05-06 13:21:36 -07:00
yang-g
080528abb7
Add parsing back to protobuf example
2016-05-06 13:12:00 -07:00
Sree Kuchibhotla
4f5b2916cc
fix clang formatting
2016-05-06 10:48:17 -07:00
yang-g
4c07008610
Add a test for server returning error with debug info in trailer.
2016-05-05 23:35:20 -07:00
David Garcia Quintas
303d3082a0
Fixed compression interop and re-enable for C++.
...
Also added some defense in depth for compression algorithms in the
receive path.
2016-05-05 18:26:13 -07:00
Jan Tattermusch
a21c7e9207
add support for scenario categories
2016-05-05 18:10:35 -07:00
Yuchen Zeng
0333a49afa
Use stream rpc to ensure all related requests go to a single server.
2016-05-05 16:29:43 -07:00
Sree Kuchibhotla
c5549fcd0a
Remove redundant error check
2016-05-05 16:12:54 -07:00