[R2DBC-40] netty buffer leaks when not consuming results Created: 2021-09-09  Updated: 2021-09-13  Resolved: 2021-09-13

Status: Closed
Project: MariaDB Connector/R2DBC
Component/s: other
Affects Version/s: 1.0.2, 1.1.0-beta
Fix Version/s: 1.0.3, 1.1.1-rc

Type: Bug Priority: Critical
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 1d
Time Spent: 2d
Original Estimate: 3d


 Description   

see https://github.com/mariadb-corporation/mariadb-connector-r2dbc/issues/23

There is 2 possibles cases where this can occurs :

  • when throwing an exception like a wrong conversion (i.e a number to big to fit in a Integer value for example)
  • when issuing a command with resultset and not consuming the result either with getRowsUpdated() or mapping resultset.

In those cases, result buffer are not released to pool before buffer are garbage collected.


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