Cheskel Twersky

Results 13 issues of Cheskel Twersky

## Summary use the `X-ClickHouse-Exception-Code` header https://github.com/ClickHouse/ClickHouse/pull/8786 Related: #332 (similar issue can happen with inserts)

we are seeing accessional uncaught errors like such: ``` TypeError: Cannot read properties of undefined (reading 'nextRetry') at Heap.comparator [as compare] (/usr/src/app/node_modules/@tw/pubsub/build/src/exponential-retry.js:21:24) at Heap._sortNodeDown (/usr/src/app/node_modules/heap-js/dist/heap-js.umd.js:2148:43) at Heap.replace (/usr/src/app/node_modules/heap-js/dist/heap-js.umd.js:1987:18) at Heap.pop...

api: pubsub
size: xs

the `maxOutstandingMessages` is set per stream so we should divide by num of streams, right?

api: pubsub
size: xs