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

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.

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:

recreate problem with updating refresh_interval at runtime · GitHub

Looks like a bug.

Confirmed - refresh_interval seems to be ignored completely

Please open an issue

clint

Opened an issue: Index Update Settings API does not update settings in real time · Issue #1807 · elastic/elasticsearch · GitHub,
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:

recreate problem with updating refresh_interval at runtime · GitHub

Looks like a bug.

Confirmed - refresh_interval seems to be ignored completely

Please open an issue

clint

Great, thanks!

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

Opened an issue:Index Update Settings API does not update settings in real time · Issue #1807 · elastic/elasticsearch · GitHub,
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:

recreate problem with updating refresh_interval at runtime · GitHub

Looks like a bug.

Confirmed - refresh_interval seems to be ignored completely

Please open an issue

clint