Skip to content

Ignore slow log configuration on shard creation#4018

Merged
spinscale merged 1 commit intoelastic:masterfrom
spinscale:issue-2730-wrong-slowlog-conf-leads-to-index-not-being-created
Nov 19, 2013
Merged

Ignore slow log configuration on shard creation#4018
spinscale merged 1 commit intoelastic:masterfrom
spinscale:issue-2730-wrong-slowlog-conf-leads-to-index-not-being-created

Conversation

@spinscale
Copy link
Copy Markdown
Contributor

In case of a misconfigured slow search/index configuration (unparseable
TimeValue) an exception is thrown.

This is not a problem when creating a shard of an index, as an exception
is returned and all is good. However, this is a huge problem, when
starting up a node, as the shard creation is repeated endlessly.

This patch changes the behaviour to go on as usual and just disable the
slowlog, as an improper configuration of logging should not affect the
allocation behaviour.

Closes #2730

In case of a misconfigured slow search/index configuration (unparseable
TimeValue) an exception is thrown.

This is not a problem when creating a shard of an index, as an exception
is returned and all is good. However, this is a huge problem, when
starting up a node, as the shard creation is repeated endlessly.

This patch changes the behaviour to go on as usual and just disable the
slowlog, as an improper configuration of logging should not affect the
allocation behaviour.

Closes elastic#2730
@spinscale spinscale merged commit 10810f0 into elastic:master Nov 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NoShardAvailableActionException caused by missing value in elasticsearch.yml

1 participant