Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YCQL] LexProcessor should only keep min buffer around in pool #18354

Open
1 task done
karan-yb opened this issue Jul 21, 2023 · 0 comments
Open
1 task done

[YCQL] LexProcessor should only keep min buffer around in pool #18354

karan-yb opened this issue Jul 21, 2023 · 0 comments
Assignees
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

Comments

@karan-yb
Copy link
Contributor

karan-yb commented Jul 21, 2023

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

  • I confirm this issue does not contain any sensitive information.
@karan-yb karan-yb added area/ycql Yugabyte CQL (YCQL) status/awaiting-triage Issue awaiting triage labels Jul 21, 2023
@karan-yb karan-yb self-assigned this Jul 21, 2023
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue and removed status/awaiting-triage Issue awaiting triage labels Jul 21, 2023
@rthallamko3 rthallamko3 assigned yusong-yan and unassigned karan-yb Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

5 participants