Commit Graph

949 Commits

Author SHA1 Message Date
Michael Lumish fade30bd0a grpc-js: Make call and stream tracking more consistent 2023-01-12 09:47:19 -08:00
Michael Lumish b342001b38 grpc-js: Reference session in transport when there are active calls 2023-01-12 09:24:21 -08:00
Michael Lumish b3b6310f04 grpc-js: Don't end calls when receiving GOAWAY 2023-01-10 15:24:22 -08:00
Michael Lumish 2d37686a1a grpc-js: Ensure ordering between status and final message 2023-01-09 10:24:17 -08:00
Michael Lumish a4d409db00
Merge pull request #2308 from murgatroid99/grpc-js_transport_refactor
grpc-js: Refactor `Transport` and `SubchannelConnector` out of `Subchannel`
2023-01-05 13:35:04 -08:00
Michael Lumish df8b8976dc grpc-js: Refactor Transport and SubchannelConnector out of Subchannel 2023-01-03 16:45:07 -08:00
Michael Lumish d2bd71348a
Merge pull request #2307 from murgatroid99/grpc-js_1.8.1
grpc-js: Bump to version 1.8.1
2023-01-03 14:09:40 -08:00
Michael Lumish 5006c14d72 grpc-js: Bump to version 1.8.1 2023-01-03 13:43:55 -08:00
Michael Lumish 08cc571d1e
Merge pull request #2277 from kleinsch/add_service_config_disable_resolution
grpc-js: Add support for grpc.service_config_disable_resolution
2023-01-03 13:17:34 -08:00
Michael Lumish fbfa73cdc8
Merge pull request #2305 from murgatroid99/grpc-js_trailers_only_default_headers
grpc-js: Add HTTP status and content type headers to trailers-only responses
2023-01-03 12:49:09 -08:00
Michael Lumish c62d41623b grpc-js: Discard buffer tracker entry when RetryingCall ends 2023-01-03 09:53:00 -08:00
Michael Lumish a1b9464de8 grpc-js: Add HTTP status and content type headers to trailers-only responses 2023-01-03 09:36:56 -08:00
Nick Kleinschmidt 677c009385 grpc-js: Add support for grpc.service_config_disable_resolution 2022-12-17 15:19:32 -07:00
Michael Lumish 161af8ca7b grpc-js: Prepare for 1.8.0 release
De-experimentalize xDS retry support, and update versions and documentation
2022-12-01 16:02:45 -05:00
Michael Lumish edf612a56a grpc-js-xds: Implement retry support 2022-11-29 14:29:47 -05:00
Michael Lumish fa21e13ef3 Limit maxAttempts to 5 for retries and hedging 2022-11-17 11:51:49 -08:00
Michael Lumish f1f351f3cd Fix handling of messages that overflow the buffer limit 2022-11-17 11:09:16 -08:00
Michael Lumish 47ba357861 Fix typo in service config validation error messages 2022-11-17 09:34:16 -08:00
Michael Lumish 95516b66a0 Fix detection of refused streams 2022-11-16 14:37:31 -08:00
Michael Lumish a120aa06b3 Merge branch 'master' into grpc-js_retry2 2022-11-16 14:19:46 -08:00
Michael Lumish e19a773705 grpc-js: Add retry tests, and fix bugs and add tracing 2022-11-16 14:10:26 -08:00
Michael Lumish 5a5e42498c grpc-js: Enable servers to send trailers-only responses 2022-11-16 14:09:40 -08:00
Michael Lumish 01c5ee783a
Merge pull request #2272 from murgatroid99/grpc-js_max_connection_age
grpc-js: Implement server connection management
2022-11-14 11:21:43 -08:00
Michael Lumish 38f2497dae grpc-js: Make filter stack factory clone with a copy of the array 2022-11-11 09:24:15 -08:00
Michael Lumish 0de2aad269 grpc-js: Fix reuse of channel filter stack factory 2022-11-10 10:54:19 -08:00
Michael Lumish a42d6b4f5c grpc-js: Implement server connection management 2022-11-10 09:59:53 -08:00
Michael Lumish 26c8c37985 grpc-js: Handle filters in ResolvingCall instead of LoadBalancingCall 2022-11-07 14:51:51 -08:00
Michael Lumish 8f33dc7246 grpc-js: Update to newest typescript compiler 2022-11-04 11:21:24 -07:00
Michael Lumish 9aabaee7de Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.7.x' into grpc-js_upmerge_1.7.x 2022-11-03 16:10:12 -07:00
Michael Lumish e21d41ddfa
Merge pull request #2255 from murgatroid99/grpc-js_service_config_timeout_fix
grpc-js: Restart deadline timer after getting timeout from service config
2022-11-01 16:15:44 -07:00
Michael Lumish b3bcff1d7b grpc-js: Pin @types/lodash to fix broken build 2022-11-01 10:39:06 -07:00
Michael Lumish e7144897d0 grpc-js: Restart deadline timer after getting timeout from service config 2022-11-01 09:26:29 -07:00
Michael Lumish e840d1f855 grpc-js: Bump to 1.7.3 2022-10-20 15:47:16 -07:00
Michael Lumish 035c260e36 grpc-js: Implement retries 2022-10-20 14:41:11 -07:00
AVVS 93de96f490
revert: extra close event on stream 2022-10-19 15:25:42 -07:00
AVVS 2f124ad68b
fix: perf issues in hot paths
1. no unused timers, wrap tracing calls to avoid stringifying
2. track graceful end of the call and avoid emitting 'cancelled' in such cases
3. remove validate calls in metadata on operations where it's not needed
4. refactor server session stream handlers into separate channelz enabled/disabled handlers
5. refactor message request logic - reduce amount of microtasks generated
6. improve sendStatus a little when there is no metadata involved
2022-10-19 14:48:11 -07:00
Michael Lumish 24c4cd7bb8 grpc-js: Add more outlier detection tests and tracing 2022-10-18 16:29:22 -07:00
Michael Lumish c4c321d37d grpc-js: Handle filters in ResolvingCall instead of LoadBalancingCall 2022-10-17 11:32:22 -07:00
Michael Lumish aaa568fc01
Merge pull request #2248 from grpc/@grpc/grpc-js@1.7.x
Merge v1.7.x into master
2022-10-14 15:59:23 -07:00
Michael Lumish 63d9f6a6d6 Ensure ordering between received messages and status 2022-10-14 11:18:26 -07:00
Michael Lumish 59a2cbceeb grpc-js: Remove redundant calls to setCredentials 2022-10-14 10:27:38 -07:00
Michael Lumish 75a6d0a24b grpc-js: Handle the grpc-node.max_session_memory option consistently on the client and server 2022-10-14 09:46:53 -07:00
Michael Lumish 67bec19b4e Merge branch 'master' into grpc-js_retry 2022-10-11 16:42:19 -07:00
Michael Lumish 339eb37efd grpc-js: Refactor in preparation for retries 2022-10-11 14:52:43 -07:00
Michael Lumish 5b42e999e4 grpc-js: Refactor getting stack trace into function 2022-09-20 16:33:01 -07:00
Michael Lumish 640a1963c7 grpc-js: Defer evaluating caller stack until an error 2022-09-20 16:20:22 -07:00
Michael Lumish b8c0cdc480
Merge pull request #2226 from murgatroid99/grpc-js_restrict_control_plane_status_codes
grpc-js: Restrict control-plane status codes
2022-09-12 13:30:20 -07:00
Michael Lumish caf37e4f15 Fix constant name spelling 2022-09-12 12:42:44 -07:00
Michael Lumish 9269f3a76f grpc-js: Restrict control-plane status codes 2022-09-12 11:46:06 -07:00
Michael Lumish b0e28f7f93 grpc-js: Add test for sending metadata from call creds on channel creds 2022-09-12 11:20:19 -07:00