Skip to content

Conversation

@jpountz
Copy link
Contributor

@jpountz jpountz commented Dec 22, 2015

Warmers are now barely useful and will be removed in 3.0. Note that this only
removes the warmer API and query-based warmers. We still have warmers internally
for eg. global ordinals.

Close #15607

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add an assertion to this file that major is less than 4.0 with a comment about this todo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can do that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just our of curiosity do we have a bwc index that has warmers? I think we should add one if we don't or regenerate the BWC indices with warmers?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually this won't help since we load old indices as dangling indices, so warmers won't be read since they are not part of the index metadata. So I guess we need a dedicated test?

@nik9000
Copy link
Member

nik9000 commented Dec 22, 2015

LGTM if we're truly ok with warmers going away.

I didn't see a test that making sure that an old index with warmers will just be ignored. Did I miss it? I think it might be as simple as trying to build an index using xcontent, specifying warmers, and asserting that the index was created without exception.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hoooraaaay

@s1monw
Copy link
Contributor

s1monw commented Dec 28, 2015

LGTM - I left one comment about BWC testing

@jpountz
Copy link
Contributor Author

jpountz commented Jan 5, 2016

@s1monw @nik9000 I added bw testing so hopefully this should be good to go now.

@nik9000
Copy link
Member

nik9000 commented Jan 5, 2016

LGTM

Warmers are now barely useful and will be removed in 3.0. Note that this only
removes the warmer API and query-based warmers. We still have warmers internally
for eg. global ordinals.

Close elastic#15607
jpountz added a commit that referenced this pull request Jan 7, 2016
Remove query warmers and the warmer API.
@jpountz jpountz merged commit 132df10 into elastic:master Jan 7, 2016
@jpountz
Copy link
Contributor Author

jpountz commented Jan 7, 2016

Note: if you are on 2.x and using warmers, the upgrade to 3.0 will be fine, warmers will be ignored during the upgrade.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants