Skip to content

cache-dictionary flap#13624

Merged
nikitamikhaylov merged 13 commits intoClickHouse:masterfrom
nikitamikhaylov:cache-dictionary-bugfix
Aug 20, 2020
Merged

cache-dictionary flap#13624
nikitamikhaylov merged 13 commits intoClickHouse:masterfrom
nikitamikhaylov:cache-dictionary-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 the behaviour when sometimes cache-dictionary returned default value instead of present value from source.

Detailed description / Documentation draft:
It happens during loading the ids (for example at first query with empty cache) when multiple requested ids glue together to a batch. I decided to delete this code at all, because there are some other non-obviousness, such as exception handling.

The stateful test (dictionary on top of Metrika dataset) will be added sooner. I've noticed, that external dictionaries with ClickHouse as a source are very slow.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Aug 11, 2020
@nikitamikhaylov nikitamikhaylov force-pushed the cache-dictionary-bugfix branch 2 times, most recently from 3113409 to 4c89fb8 Compare August 12, 2020 13:05
@nikitamikhaylov nikitamikhaylov marked this pull request as ready for review August 12, 2020 15:32
@abyss7 abyss7 self-assigned this Aug 18, 2020
@nikitamikhaylov
Copy link
Copy Markdown
Member Author

Fuzzer error reported here #13917

@abyss7 abyss7 self-requested a review August 20, 2020 14:12
robot-clickhouse pushed a commit that referenced this pull request Aug 24, 2020
robot-clickhouse pushed a commit that referenced this pull request Aug 24, 2020
alexey-milovidov added a commit that referenced this pull request Aug 26, 2020
Backport #13624 to 20.6: cache-dictionary flap
alexey-milovidov added a commit that referenced this pull request Aug 26, 2020
Backport #13624 to 20.7: cache-dictionary flap
robot-clickhouse pushed a commit that referenced this pull request Aug 28, 2020
robot-clickhouse pushed a commit that referenced this pull request Aug 28, 2020
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