MemDB does not reuse free nodes #1375
Labels
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
MemDB cannot reuse free nodes, which may lead to mem leak in some cases. If a DML writes many keys and it has been retried multiple times due to pessimistic lock error, MemDB would re-alloc nodes for each try. Refer to the following demo code, the mem usage of allocator keeps growing.
The text was updated successfully, but these errors were encountered: