[YCQL] LexProcessor should only keep min buffer around in pool #18354
Labels
2.14 Backport Required
2.16 Backport Required
2.18 Backport Required
area/ycql
Yugabyte CQL (YCQL)
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-7340
Description
LexProcessors are pooled as part of Parser pooling at CQLService level. If there is a query which has large literal value, then we end up increasing the temporary literal buffer size to literal size. The temporary buffer size will remain same until the Lex processor is destroyed. To avoid this large untracked memory, we should reduce the memory usage to min buffer size i.e. 4K before releasing the processor/parser to pool.
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: