Skip to content

Cache-dictionary getString() bugfix#11233

Merged
nikitamikhaylov merged 2 commits intoClickHouse:masterfrom
nikitamikhaylov:cache-getstring-bugfix
May 29, 2020
Merged

Cache-dictionary getString() bugfix#11233
nikitamikhaylov merged 2 commits intoClickHouse:masterfrom
nikitamikhaylov:cache-getstring-bugfix

Conversation

@nikitamikhaylov
Copy link
Copy Markdown
Member

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

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fixed a bug when cache-dictionary could return default value instead of normal (when there are only expired keys). This affects only string fields.

Need to be backported with #10337 in 20.3 and maybe in 20.4. (It is marked as feature, but actually it is a bugfix. Because without upper bound on cell lifetime dictionary could return extremely old value and it is abnormal. )

@nikitamikhaylov nikitamikhaylov added pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-bugfix Pull request with bugfix, not backported by default labels May 27, 2020
@akuzm akuzm self-assigned this May 28, 2020
@nikitamikhaylov nikitamikhaylov merged commit 9233997 into ClickHouse:master May 29, 2020
KochetovNicolai pushed a commit that referenced this pull request Jun 8, 2020
Cache-dictionary getString() bugfix

(cherry picked from commit 9233997)
KochetovNicolai pushed a commit that referenced this pull request Jun 8, 2020
Cache-dictionary getString() bugfix

(cherry picked from commit 9233997)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-docs-needed pr-bugfix Pull request with bugfix, not backported by default pr-must-backport Pull request should be backported intentionally. Use this label with great care!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants