Commit Graph

935 Commits

Author SHA1 Message Date
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
Michael Lumish b8da460708
Merge pull request #2223 from murgatroid99/grpc-js_outlier_detection_validation_tests
grpc-js: Add tests for outlier detection validation rules
2022-09-09 15:47:36 -07:00
Michael Lumish 9dd9cb0e5d
Merge pull request #2224 from murgatroid99/grpc-js_1.7.x
grpc-js: Bump to 1.7.0
2022-09-08 14:33:36 -07:00
Michael Lumish f438191182 grpc-js: Add tests for outlier detection validation rules 2022-09-07 16:35:29 -07:00
Michael Lumish 51de24ac0c grpc-js: Bump to 1.7.0 2022-09-07 13:11:14 -07:00
Michael Lumish 3c27ed4c00 grpc-js: Update grpc-js outlier detection check to match xds check 2022-09-07 12:39:39 -07:00
Michael Lumish 1a3600e2ec
Merge pull request #2132 from ajmath/ajmath/expose-call-items
Expose path and callEnd event in ServerSurfaceCall
2022-09-06 15:22:09 -07:00
Michael Lumish 618475a1ba
Merge pull request #2217 from grpc/@grpc/grpc-js@1.6.x
v1.6.x merge into master, again
2022-08-31 10:59:27 -07:00
Michael Lumish ccd855fb5a grpc-js: Fix typo in previous status message handling fix 2022-08-29 18:18:53 -07:00
Michael Lumish c323369929 grpc-js: Enable outlier detection by default 2022-08-29 15:41:51 -07:00
Michael Lumish 3d603289ff Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.6.x' 2022-08-29 14:34:59 -07:00
Michael Lumish a82e40ff9a grpc-js: Handle errors when decoding status details 2022-08-29 09:52:13 -07:00
Michael Lumish 1d5801aa90 grpc-js: Stop ejecting when current percent is equal to max 2022-08-24 14:54:09 -07:00
Michael Lumish 8664c837db Fix spelling 2022-08-24 10:59:15 -07:00
Michael Lumish f15efb63de grpc-js: Outlier Detection: fix failure percentage min hosts check 2022-08-24 10:27:53 -07:00