Skip to content

Fix bug with memory allocation for string fields in complex key cache dictionary#6447

Merged
alexey-milovidov merged 2 commits intomasterfrom
fix_complex_key_cached_string_dict
Aug 12, 2019
Merged

Fix bug with memory allocation for string fields in complex key cache dictionary#6447
alexey-milovidov merged 2 commits intomasterfrom
fix_complex_key_cached_string_dict

Conversation

@alesapin
Copy link
Copy Markdown
Member

@alesapin alesapin commented Aug 12, 2019

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

For changelog. Remove if this is non-significant change.

Category (leave one):

  • Bug Fix

Short description (up to few sentences):
Fix rare bug with wrong memory allocation/deallocation in complex key cache dictionaries with string fields which leads to infinite memory consumption (looks like memory leak). Bug reproduces when string size was a power of two starting from eight (8, 16, 32, etc).

@alesapin alesapin changed the title Fix bug with memory allocation for string fields in complex key cache… Fix bug with memory allocation for string fields in complex key cache dictionary Aug 12, 2019
@alesapin alesapin added the pr-bugfix Pull request with bugfix, not backported by default label Aug 12, 2019
@alexey-milovidov alexey-milovidov merged commit f992df8 into master Aug 12, 2019
tavplubix pushed a commit that referenced this pull request Aug 12, 2019
Fix bug with memory allocation for string fields in complex key cache dictionary
tavplubix pushed a commit that referenced this pull request Aug 12, 2019
Fix bug with memory allocation for string fields in complex key cache dictionary
@akuzm akuzm mentioned this pull request Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants