909 Commits

Author SHA1 Message Date
Michael Lumish
e840d1f855 grpc-js: Bump to 1.7.3 2022-10-20 15:47:16 -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
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
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
Michael Lumish
68aa56fa4a
Merge pull request #2198 from murgatroid99/grpc-js-xds_ignore_resource_deletion
grpc-js-xds: Implement ignore_resource_deletion option
2022-08-22 16:05:14 -07:00
Michael Lumish
5a7f89a5f5 grpc-js: Switch LB policy when new one is not CONNECTING 2022-08-18 14:25:49 -07:00
Michael Lumish
a3b698e837 Don't use tracer for ignored resource deletion logs 2022-08-17 17:00:02 -07:00
Michael Lumish
3f4418faf0 grpc-js: Drain incoming http2 data after outputting status 2022-08-11 18:01:01 -07:00
Michael Lumish
e87b864075 grpc-js: Update version to 1.6.9 2022-08-08 17:18:02 -07:00
Michael Lumish
abf8f923c5
Merge pull request #2189 from murgatroid99/grpc-js_1.6.9
grpc-js: Update version to 1.6.9
2022-08-08 17:16:12 -07:00
Michael Lumish
c1ab4c4a1b grpc-js: Update version to 1.6.9 2022-08-08 13:44:02 -07:00
Michael Lumish
a2e5ded830
Merge pull request #2181 from murgatroid99/grpc-js_outlier_detection_fixes_backport
grpc-js: backport outlier detection fixes to v1.6.x
2022-08-08 13:43:36 -07:00
Michael Lumish
b08171e232
Merge pull request #2188 from murgatroid99/grpc-js_ping_error_check
grpc-js: Handle errors when trying to ping
2022-08-08 13:35:46 -07:00
Michael Lumish
fb8de8589b
Merge pull request #2187 from murgatroid99/grpc-js_trailers_event_memory_leak
grpc-js: Avoid explicit bind in trailer event handler
2022-08-08 13:22:28 -07:00
Michael Lumish
d7765f6050
Merge pull request #2126 from murgatroid99/grpc-js_tsconfig_types
grpc-js: Specify 'types' option in tsconfig file
2022-08-08 13:14:01 -07:00
Michael Lumish
31d28b5f14 grpc-js: Handle errors when trying to ping 2022-08-08 13:05:26 -07:00
Michael Lumish
ee1e330157 grpc-js: Avoid explicit bind in trailer event handler 2022-08-08 12:50:50 -07:00
Michael Lumish
36f37cb78f grpc-js: Propagate ejection when recreating outlier detection subchannel wrapper 2022-08-04 17:34:41 -07:00
Michael Lumish
4cfe75b43a grpc-js: Initialize connectivity state from subchannel in outlier detection subchannel wrapper 2022-08-04 17:34:29 -07:00
Michael Lumish
3328798d28 grpc-js: Implement getConnectivityState in subchannel wrapper 2022-08-04 17:34:15 -07:00
Michael Lumish
9be6c6c5da Update outlier detection behavior for gRFC updates 2022-08-04 17:34:00 -07:00
Michael Lumish
edbdc570c7 grpc-js: Add outlier detection tracing and enable it in interop tests 2022-08-04 17:33:47 -07:00
Michael Lumish
001cce7db0 grpc-js: Propagate ejection when recreating outlier detection subchannel wrapper 2022-08-04 16:02:05 -07:00
Michael Lumish
78fe8c6d05 grpc-js: Initialize connectivity state from subchannel in outlier detection subchannel wrapper 2022-08-04 15:56:28 -07:00
Michael Lumish
b3f23d805e grpc-js: Implement getConnectivityState in subchannel wrapper 2022-08-04 12:54:15 -07:00
Michael Lumish
1e53150155 Update outlier detection behavior for gRFC updates 2022-08-02 13:48:16 -07:00
Michael Lumish
90e8886d98 grpc-js: Add outlier detection tracing and enable it in interop tests 2022-08-02 11:02:02 -07:00
Michael Lumish
fbf7944646 grpc-js: Outlier detection: Fix standard deviation calculation 2022-07-22 12:58:22 -07:00
Michael Lumish
50c58238ff grpc-js: Update version to 1.6.8 2022-07-20 15:22:53 -07:00
Michael Lumish
27b7bb8928 grpc-js: Update proto-loader dependency to ^0.7.0 2022-07-19 10:52:02 -07:00