Update Settings: new value of refresh_interval is not observed without restart (w/ Gist)


(David-2) #1

I've run into a problem that looks like a bug with 0.19.0 and 0.19.1.
I have a bulk index process that follows the suggested pattern of
setting refresh_interval to "-1" during the index and then changing it
back to "1s" after the index is done. With the 0.19.x versions, I've
noticed that the dynamically set values of refresh_interval, while
they seem to be changed in the settings, are not observed without a
restart.

See this gist for a series of commands that you can run on a vanilla
single instance of elastic that recreates this problem:

Looks like a bug.


(Clinton Gormley) #2

On Thu, 2012-03-22 at 09:08 -0700, David wrote:

I've run into a problem that looks like a bug with 0.19.0 and 0.19.1.
I have a bulk index process that follows the suggested pattern of
setting refresh_interval to "-1" during the index and then changing it
back to "1s" after the index is done. With the 0.19.x versions, I've
noticed that the dynamically set values of refresh_interval, while
they seem to be changed in the settings, are not observed without a
restart.

See this gist for a series of commands that you can run on a vanilla
single instance of elastic that recreates this problem:

https://gist.github.com/2159205

Looks like a bug.

Confirmed - refresh_interval seems to be ignored completely

Please open an issue

clint


(Shay Banon) #3

Opened an issue: https://github.com/elasticsearch/elasticsearch/issues/1807,
a fix is coming...

On Thu, Mar 22, 2012 at 6:35 PM, Clinton Gormley clint@traveljury.comwrote:

On Thu, 2012-03-22 at 09:08 -0700, David wrote:

I've run into a problem that looks like a bug with 0.19.0 and 0.19.1.
I have a bulk index process that follows the suggested pattern of
setting refresh_interval to "-1" during the index and then changing it
back to "1s" after the index is done. With the 0.19.x versions, I've
noticed that the dynamically set values of refresh_interval, while
they seem to be changed in the settings, are not observed without a
restart.

See this gist for a series of commands that you can run on a vanilla
single instance of elastic that recreates this problem:

https://gist.github.com/2159205

Looks like a bug.

Confirmed - refresh_interval seems to be ignored completely

Please open an issue

clint


(David-2) #4

Great, thanks!

On Mar 22, 12:15 pm, Shay Banon kim...@gmail.com wrote:

Opened an issue:https://github.com/elasticsearch/elasticsearch/issues/1807,
a fix is coming...

On Thu, Mar 22, 2012 at 6:35 PM, Clinton Gormley cl...@traveljury.comwrote:

On Thu, 2012-03-22 at 09:08 -0700, David wrote:

I've run into a problem that looks like a bug with 0.19.0 and 0.19.1.
I have a bulk index process that follows the suggested pattern of
setting refresh_interval to "-1" during the index and then changing it
back to "1s" after the index is done. With the 0.19.x versions, I've
noticed that the dynamically set values of refresh_interval, while
they seem to be changed in the settings, are not observed without a
restart.

See this gist for a series of commands that you can run on a vanilla
single instance of elastic that recreates this problem:

https://gist.github.com/2159205

Looks like a bug.

Confirmed - refresh_interval seems to be ignored completely

Please open an issue

clint


(system) #5