Skip to content

Fix some query cache key collisions.#4094

Merged
fjy merged 1 commit intoapache:masterfrom
gianm:fix-caching
Mar 22, 2017
Merged

Fix some query cache key collisions.#4094
fjy merged 1 commit intoapache:masterfrom
gianm:fix-caching

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented Mar 22, 2017

The query caches generally store dimensions and aggregators positionally, so
appendCacheablesIgnoringOrder could lead to incorrect results being pulled
from the cache.

This was a regression introduced in #3899 while fixing #3719.

The query caches generally store dimensions and aggregators positionally, so
appendCacheablesIgnoringOrder could lead to incorrect results being pulled
from the cache.
@gianm gianm added the Bug label Mar 22, 2017
@gianm gianm added this to the 0.10.0 milestone Mar 22, 2017
@fjy
Copy link
Copy Markdown
Contributor

fjy commented Mar 22, 2017

👍

@fjy fjy merged commit 1f48198 into apache:master Mar 22, 2017
@gianm gianm deleted the fix-caching branch March 22, 2017 18:18
gianm added a commit to gianm/druid that referenced this pull request Mar 22, 2017
The query caches generally store dimensions and aggregators positionally, so
appendCacheablesIgnoringOrder could lead to incorrect results being pulled
from the cache.
gianm added a commit that referenced this pull request Mar 22, 2017
The query caches generally store dimensions and aggregators positionally, so
appendCacheablesIgnoringOrder could lead to incorrect results being pulled
from the cache.
@erikdubbelboer
Copy link
Copy Markdown
Contributor

erikdubbelboer commented Mar 23, 2017

Is this going to be added to the current 0.10.0-rc1 release as well or is there going to be a rc2?

@gianm
Copy link
Copy Markdown
Contributor Author

gianm commented Mar 23, 2017

It'll be part of 0.10.0-rc2.

@erikdubbelboer
Copy link
Copy Markdown
Contributor

Any idea on when this will be released?

@gianm
Copy link
Copy Markdown
Contributor Author

gianm commented Mar 23, 2017

It'll be when the list of blockers to release (https://github.com/druid-io/druid/milestone/21) is all resolved -- my guess is within a few days. If you want, you could build your own in the meantime, using the 0.10.0 branch.

@gianm
Copy link
Copy Markdown
Contributor Author

gianm commented Mar 24, 2017

@erikdubbelboer RC2 is out now: http://druid.io/downloads.html

@erikdubbelboer
Copy link
Copy Markdown
Contributor

@gianm thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants