Muxi Yan
7f36ff039f
Merge pull request #22423 from muxi/objc-poller
...
Introduce CFRunLoop based iomgr
2020-04-15 14:30:43 -07:00
Lidi Zheng
6e0ac50b09
Improve the documentation for serializer and deserializer
2020-04-15 14:04:52 -07:00
Lidi Zheng
17d75dde69
Simplify logic around send message operation
2020-04-15 12:45:29 -07:00
Taras Galkovskyi
3ff24dd63a
Merge branch 'master' of git://github.com/grpc/grpc
2020-04-15 18:18:51 +00:00
Taras Galkovskyi
02da3330c2
address review comments
2020-04-15 18:13:04 +00:00
Muxi Yan
b96895bf9d
Add apple_ev iomgr
2020-04-15 11:06:53 -07:00
Lidi Zheng
3e187feca0
Fix the inaccurate cancel injection
2020-04-14 16:42:35 -07:00
Lidi Zheng
9b4070a380
Fix the None return case
2020-04-14 15:42:52 -07:00
Yash Tibrewal
3c34eae97e
Move decompression into gRPC Core
2020-04-10 16:43:29 -07:00
Taras Galkovskyi
83ada3b598
adjusting formatting & tests
2020-04-10 14:20:27 +00:00
Taras Galkovskyi
2b3eca0858
adding api to configure target service accounts for client ALTS
2020-04-10 14:09:17 +00:00
Donna Dionne
f5fd631a9c
Merge remote-tracking branch 'upstream/master' into route_response
2020-04-09 11:10:28 -07:00
Mark D. Roth
80b74811d4
Merge pull request #22117 from markdroth/xdslb_refactor
...
Refactor xds LB policy
2020-04-08 07:28:49 -07:00
Mark D. Roth
f8f6034d1a
Refactor xds LB policy
2020-04-07 14:03:01 -07:00
Lidi Zheng
e50c9a8e2e
Fix typo in the comment
2020-04-07 13:54:21 -07:00
Taras Galkovskyi
d84d53f901
fix comment
2020-04-07 00:26:23 +00:00
Taras Galkovskyi
828ee320a4
Expose ALTS client/server credentials on Python layer
2020-04-07 00:14:41 +00:00
Lidi Zheng
4eb596446d
Resolve conflict with master
2020-04-06 16:11:13 -07:00
Lidi Zheng
2b6037f113
Rename to wait_for_conneciton && Add to unary-unary RPC
2020-04-06 16:10:07 -07:00
Lidi Zheng
58beda2f73
Add try_connect API to StreamUnaryCall
2020-04-06 16:09:07 -07:00
Lidi Zheng
c07520a350
Mark it as experimental
2020-04-06 16:09:07 -07:00
Lidi Zheng
41866c1250
Add try_connect API for UnaryStreamCall and StreamStreamCall
2020-04-06 16:09:07 -07:00
Donna Dionne
c0c7f1dae3
Fix build and test failures
...
Including the following
All all needed BUILD changes to include new xdsRouting
Fixed TSAN errors
AllServerUnavailableFailFast may return UNKNOWN as oppose UNAVAILABLE
ChooseLastRoute modified into 2 tests
2020-04-06 16:05:04 -07:00
Lidi Zheng
6f00de087f
Aggregate common statement in both branches
2020-04-03 15:13:26 -07:00
Lidi Zheng
e00eb2fec2
Make pylint happy
2020-04-03 11:37:56 -07:00
Lidi Zheng
8b1a6c8f45
Accepts normal iterable of request messages
2020-04-03 11:37:56 -07:00
Richard Belleville
0ec32634fb
Merge pull request #22549 from gnossen/simple_stubs_3_6_and_up
...
Add version check for Python 3.6 to simple stubs
2020-04-02 14:08:36 -07:00
Lidi Zheng
006aafea85
Merge pull request #22541 from lidizheng/aio-poller-shutdown-error
...
[Aio] Fix AttributeError during deallocation of the completion queue
2020-04-02 13:09:23 -07:00
Richard Belleville
f15a6bf6e4
Add version check for Python 3.6 to simple stubs
2020-04-01 23:34:14 -07:00
Lidi Zheng
386977ff41
Annotate metadata variable as Tuple instead of Sequence
2020-04-01 15:16:55 -07:00
Lidi Zheng
5cab833808
Make sanity tests happy
2020-04-01 15:11:26 -07:00
Lidi Zheng
2c24272bbd
Cast the complete queue to sub class to avoid AttributeError
2020-04-01 14:30:15 -07:00
Lidi Zheng
ee31a696ab
Cast metadata to tuple
2020-04-01 13:25:33 -07:00
Mark D. Roth
03411d7be7
Second attempt: grpclb stabilization
2020-03-31 07:52:44 -07:00
Lidi Zheng
cb5fdce2bf
Improve readability and fix wording
2020-03-26 10:35:32 -07:00
Lidi Zheng
5182e9f07f
Eliminates suspicious exceptions in test logs
2020-03-25 17:45:45 -07:00
Lidi Zheng
1e6c9b4c6d
Merge pull request #22482 from lidizheng/aio-no-info
...
[Aio] Eliminate info level logs
2020-03-25 17:16:36 -07:00
Lidi Zheng
b5b47ce7c7
Upgrade the server stop log to warning
2020-03-25 16:00:50 -07:00
Lidi Zheng
0961c5de0b
Merge pull request #22306 from Skyscanner/issue-21953_type-of-metadata
...
[Aio] Initial modelling of the metadata abstraction
2020-03-25 15:10:51 -07:00
Lidi Zheng
79497f8059
Downgrade info logs to debug
2020-03-25 15:09:21 -07:00
Mariano Anaya
2be1ec9c6e
[issue21953] Move tests to the aio part
...
* Export the new metadata type through the ``__init__.py``
* Move the tests from the old location to the new one for the
asynchronous stack.
2020-03-25 10:03:14 +01:00
Mariano Anaya
3bf67c4253
[issue21953] Fix typing in Metadata class definitions
2020-03-25 10:03:14 +01:00
Mariano Anaya
6891169b58
Apply PR feedback
...
* Fix the length of the object to account for all the keys it holds
(consider it's a multi-mapping)
* Add support for deleting items
* Make test stricter
2020-03-25 10:03:14 +01:00
Mariano Anaya
1f2d916386
[aio] Metadata type: Fix tests & __repr__
2020-03-25 10:03:14 +01:00
Mariano Anaya
0be36ed606
Add mutability to the MetadataType
2020-03-25 10:03:14 +01:00
Mariano Anaya
7d88c61f57
Initial modelling of the metadata abstraction
...
Create the initial version for the abstraction for the Metadata based on
the discussion at https://github.com/grpc/grpc/issues/21953
2020-03-25 10:03:14 +01:00
Lidi Zheng
52634fb7be
Correct the docstring and implementation of AuthMetadataPlugin
2020-03-24 15:59:10 -07:00
Lidi Zheng
b73b389dd1
Change the default IO engine to poller
2020-03-23 10:21:33 -07:00
Lidi Zheng
39c4fd7972
Merge pull request #22343 from lidizheng/async-unary-unary-credentials-tests
...
[Aio] Extend unit tests for async credentials calls
2020-03-19 14:53:21 -07:00
Lidi Zheng
ae0dc69cb1
Fix the typo; I got the wrong branch and waited two hours
2020-03-19 13:19:41 -07:00
Lidi Zheng
69fa971183
Merge pull request #22405 from lidizheng/annotate-context-manager
...
Annotate channel context manager methods to make pytype happy
2020-03-18 13:30:21 -07:00
Richard Belleville
85d25bd990
Merge pull request #22104 from gnossen/xds-python-client
...
Implement Python xDS interop client.
2020-03-18 13:07:50 -07:00
Lidi Zheng
158a68f4f0
Annotate channel context manager methods to make pytype happy
2020-03-18 11:49:26 -07:00
Lidi Zheng
46bb3769a9
Override the auth plugin behavior
2020-03-18 10:13:05 -07:00
Lidi Zheng
d6bd3c37b2
Use mutex to protect queue operations
2020-03-17 15:32:38 -07:00
Lidi Zheng
030b1b6a84
Update the pxd as well
2020-03-17 13:28:24 -07:00
Lidi Zheng
82050ae192
Initialize credentials after IO engine set
2020-03-17 13:23:11 -07:00
Lidi Zheng
1a0655d75c
Add comment about why we can't use cimport
2020-03-17 10:55:52 -07:00
Lidi Zheng
65930d4be9
Remove the socket reader in shutdown
2020-03-17 10:40:05 -07:00
Mariano Anaya
dff4a30b6c
Fix build & address review comments
...
Fixes https://github.com/grpc/grpc/issues/20532
2020-03-16 16:09:36 -07:00
Mariano Anaya
33e15156bb
[WIP] Feedback on the PR
2020-03-16 16:09:36 -07:00
Mariano Anaya
f2aad7e54c
Extend tests for secure channels & credentials
2020-03-16 16:09:36 -07:00
Mariano Anaya
a1bb0bc6f8
Set error description
2020-03-16 16:09:36 -07:00
Mariano Anaya
764be7ed92
Improve error message by including the error code
2020-03-16 16:09:36 -07:00
Mariano Anaya
88e922c03f
Make the server test use SSL credentials
2020-03-16 16:09:36 -07:00
Mariano Anaya
f44e4e2138
Renames according to PR comments
2020-03-16 16:09:36 -07:00
Lidi Zheng
c82f28d428
Use socket to synchronize cq and asyncio
2020-03-16 15:42:31 -07:00
Lidi Zheng
5d1651ff65
Don't graceful shutdown cq to avoid the deadlock
2020-03-16 11:10:07 -07:00
Lidi Zheng
7622a2de38
Improve readability & fix a deadlock issue in _test_base
2020-03-13 15:56:25 -07:00
Richard Belleville
651f850076
Merge remote-tracking branch 'origin/master' into peers_method
2020-03-13 20:31:27 +00:00
Lidi Zheng
7a51ca3330
Plumb through loop object & pass daemon=Ture in constructor
2020-03-13 11:59:35 -07:00
Lidi Zheng
8fc872ed2e
Enforce one cq and support many-thread many-loop env
...
- Label channel_argument_test as flaky
- Add compatibility test
- Add many-loop test case
2020-03-13 11:47:30 -07:00
Lidi Zheng
fda2111af7
Merge pull request #22258 from lidizheng/aio-cq
...
[Aio] Add an alternative mode for the AsyncIO Stack
2020-03-13 11:40:20 -07:00
Richard Belleville
9ef83ee539
Merge remote-tracking branch 'origin/master' into peers_method
2020-03-12 20:30:08 +00:00
Lidi Zheng
4741da3a11
Remove unused variable
2020-03-10 10:26:46 -07:00
Richard Belleville
df1761ce50
Merge pull request #22218 from gnossen/simple_stubs_codegen
...
Generate simple stubs code
2020-03-09 19:04:13 -07:00
Richard Belleville
f27b7fea21
Format
2020-03-09 17:25:00 -07:00
Richard Belleville
4e2ad2444d
Remove the default value for simple stubs
2020-03-09 17:03:55 -07:00
Lidi Zheng
5b1ecef47f
Simplify the Cython code
2020-03-09 15:38:34 -07:00
Lidi Zheng
5246a7c8ff
Link to a TODO issue
2020-03-09 15:20:06 -07:00
Lidi Zheng
231f9c0c94
Improve readability
2020-03-09 15:20:06 -07:00
Lidi Zheng
ce68d53dd1
Make pytype happy
2020-03-09 15:20:06 -07:00
Lidi Zheng
7b7c0ba5fc
Fix the SEGFAULT caused by initialization ordering
2020-03-09 15:20:06 -07:00
Lidi Zheng
0ee33a4762
Confusing
2020-03-09 15:20:06 -07:00
Lidi Zheng
1d13ec88de
Segfault while shutting down
2020-03-09 15:20:06 -07:00
Lidi Zheng
221a50bf87
Allow multiple asyncio engine
2020-03-09 15:20:06 -07:00
Lidi Zheng
efd483311c
Remove loggings
2020-03-09 15:20:06 -07:00
Lidi Zheng
b2839c2bae
Add assertion in grpc_call_soon_threadsafe
2020-03-09 15:20:06 -07:00
Lidi Zheng
464d41f4b8
Great. Everything seems working.
2020-03-09 15:20:06 -07:00
Lidi Zheng
e00f8b3492
Use a poller thread to replace custom IO manager
2020-03-09 15:20:06 -07:00
Lidi Zheng
d9c55675c4
Merge pull request #22234 from lidizheng/aio-iomgr-op
...
[Aio] Optimize some details of AsyncIO IO manager
2020-03-09 14:15:19 -07:00
Lidi Zheng
a05abc0939
Mark it correctly with a TODO
2020-03-06 14:12:47 -08:00
Lidi Zheng
08b028ab82
Update the comment about the expect life span of the hack
2020-03-06 13:53:12 -08:00
Lidi Zheng
0d785bf22a
Resolve AttributeError from bpo-39764
2020-03-06 13:47:35 -08:00
Lidi Zheng
b00fc59d29
Link the TODO issue & revert to call_later
2020-03-05 16:26:41 -08:00
Lidi Zheng
33a406e6a8
Restore 3.6 compatibility
2020-03-05 12:11:22 -08:00
Lidi Zheng
f87149c967
Destroy server without gil
2020-03-05 12:11:22 -08:00
Lidi Zheng
43fe171683
Optimize some implementation of IO manager
2020-03-05 12:11:22 -08:00
Lidi Zheng
87d01bf9e5
Merge pull request #22032 from ZHmao/implement-server-interceptor-for-unary-unary-call
...
[Aio] Implement server interceptor for unary unary call
2020-03-05 10:26:56 -08:00
yang-g
976fff1797
Create a macro to allow custom dualstack socket
2020-03-04 16:07:35 -08:00