[CONJS-168] stream backpressure not handled well Created: 2021-06-11  Updated: 2021-06-14  Resolved: 2021-06-14

Status: Closed
Project: MariaDB Connector/node.js
Component/s: other, performance
Affects Version/s: None
Fix Version/s: 3.0.0-rc

Type: Bug Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

see https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/161

Correction from CONJS-60 solve the connection hanging if any error occurs when handling results, but a the cost of not handling backpressure anymore.

This means that user have to take care of resuming query stream, that cannot be taken care of automatically. Choice was initially to have a good state whatever the situation, but this goes against stream feature to avoid charging memory.
Documentation can explicit this use case.


Generated at Thu Feb 08 03:23:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.