-
Notifications
You must be signed in to change notification settings - Fork 25.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"shard started" should show index and shard ID #25157
Merged
pickypg
merged 2 commits into
elastic:master
from
pickypg:feature/add-index-name-and-shard-id-to-cluster-state-message
Jun 9, 2017
Merged
"shard started" should show index and shard ID #25157
pickypg
merged 2 commits into
elastic:master
from
pickypg:feature/add-index-name-and-shard-id-to-cluster-state-message
Jun 9, 2017
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When the cluster state is updated with Shard Started entries, it simply adds "shard-started" as the source of the change. This adds the index name and shard ID so that we can see who/what is spamming the changes when the index creation step has already left the cluster state.
bleskes
reviewed
Jun 9, 2017
@@ -375,7 +375,7 @@ public void shardStarted(final ShardRouting shardRouting, final String message, | |||
public void messageReceived(ShardEntry request, TransportChannel channel) throws Exception { | |||
logger.debug("{} received shard started for [{}]", request.shardId, request); | |||
clusterService.submitStateUpdateTask( | |||
"shard-started", | |||
"shard-started " + request.shardId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not the whole request while we're at it?
bleskes
approved these changes
Jun 9, 2017
42f7982
to
3f9d7e6
Compare
pickypg
added a commit
that referenced
this pull request
Jun 9, 2017
When the cluster state is updated with Shard Started entries, it simply adds "shard-started" as the source of the change. This adds the index name and shard ID so that we can see who/what is spamming the changes when the index creation step has already left the cluster state.
pickypg
added a commit
that referenced
this pull request
Jun 9, 2017
When the cluster state is updated with Shard Started entries, it simply adds "shard-started" as the source of the change. This adds the index name and shard ID so that we can see who/what is spamming the changes when the index creation step has already left the cluster state.
jasontedor
added a commit
to jasontedor/elasticsearch
that referenced
this pull request
Jun 10, 2017
* master: (53 commits) Log checkout so SHA is known Add link to community Rust Client (elastic#22897) "shard started" should show index and shard ID (elastic#25157) await fix testWithRandomException Change BWC versions on create index response Return the index name on a create index response Remove incorrect bwc branch logic from master Correctly format arrays in output [Test] Extending parsing checks for SearchResponse (elastic#25148) Scripting: Change keys for inline/stored scripts to source/id (elastic#25127) [Test] Add test for custom requests in High Level Rest Client (elastic#25106) nested: In case of a single type the _id field should be added to the nested document instead of _uid field. `type` and `id` are lost upon serialization of `Translog.Delete`. (elastic#24586) fix highlighting docs Fix NPE in token_count datatype with null value (elastic#25046) Remove the postings highlighter and make unified the default highlighter choice (elastic#25028) [Test] Adding test for parsing SearchShardFailure leniently (elastic#25144) Fix typo in shards.asciidoc (elastic#25143) List Hibernate Search (elastic#25145) [DOCS] update maxRetryTimeout in java REST client usage page ...
jasontedor
added a commit
to jasontedor/elasticsearch
that referenced
this pull request
Jun 10, 2017
* master: (80 commits) Test: remove faling test that relies on merge order Log checkout so SHA is known Add link to community Rust Client (elastic#22897) "shard started" should show index and shard ID (elastic#25157) await fix testWithRandomException Change BWC versions on create index response Return the index name on a create index response Remove incorrect bwc branch logic from master Correctly format arrays in output [Test] Extending parsing checks for SearchResponse (elastic#25148) Scripting: Change keys for inline/stored scripts to source/id (elastic#25127) [Test] Add test for custom requests in High Level Rest Client (elastic#25106) nested: In case of a single type the _id field should be added to the nested document instead of _uid field. `type` and `id` are lost upon serialization of `Translog.Delete`. (elastic#24586) fix highlighting docs Fix NPE in token_count datatype with null value (elastic#25046) Remove the postings highlighter and make unified the default highlighter choice (elastic#25028) [Test] Adding test for parsing SearchShardFailure leniently (elastic#25144) Fix typo in shards.asciidoc (elastic#25143) List Hibernate Search (elastic#25145) ...
jasontedor
added a commit
to jasontedor/elasticsearch
that referenced
this pull request
Jun 10, 2017
* master: (1889 commits) Test: remove faling test that relies on merge order Log checkout so SHA is known Add link to community Rust Client (elastic#22897) "shard started" should show index and shard ID (elastic#25157) await fix testWithRandomException Change BWC versions on create index response Return the index name on a create index response Remove incorrect bwc branch logic from master Correctly format arrays in output [Test] Extending parsing checks for SearchResponse (elastic#25148) Scripting: Change keys for inline/stored scripts to source/id (elastic#25127) [Test] Add test for custom requests in High Level Rest Client (elastic#25106) nested: In case of a single type the _id field should be added to the nested document instead of _uid field. `type` and `id` are lost upon serialization of `Translog.Delete`. (elastic#24586) fix highlighting docs Fix NPE in token_count datatype with null value (elastic#25046) Remove the postings highlighter and make unified the default highlighter choice (elastic#25028) [Test] Adding test for parsing SearchShardFailure leniently (elastic#25144) Fix typo in shards.asciidoc (elastic#25143) List Hibernate Search (elastic#25145) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When the cluster state is updated with Shard Started entries, it simply adds "shard-started" as the source of the change.
This adds the index name and shard ID so that we can see who/what is spamming the changes when the index creation step has already left the cluster state.
For example, while debugging this, it would have been helpful to know what shards these were because both indices only had a single shard, but there are three
shard-started
messages: