-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Remove remaining line length violations in o.e.cluster #34941
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
Conversation
|
Pinging @elastic/es-core-infra |
|
There is a merge conflict in checkstyle_suppreasions.xml
…On Fri, Oct 26, 2018, 19:35 Elastic Machine ***@***.***> wrote:
Pinging @elastic/es-core-infra
<https://github.com/orgs/elastic/teams/es-core-infra>
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
<#34941 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AANLoq2G2poBItMZMVJyjxuCc3VVP4Ikks5uo5w4gaJpZM4X9HZ_>
.
|
nik9000
left a comment
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.
I left a few minor alignment things, otherwise LGTM.
| " {\"allocate_empty_primary\" : {\"index\" : \"test\", \"shard\" : 1," + | ||
| " \"node\" : \"node1\", \"accept_data_loss\" : true}}\n" + | ||
| " ,{\"allocate_stale_primary\" : {\"index\" : \"test\", \"shard\" : 2," + | ||
| " \"node\" : \"node1\", \"accept_data_loss\" : true}}\n" + |
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.
Could you line up the opening quotes here?
| clusterState = ClusterState.builder(clusterState).nodes(DiscoveryNodes.builder(clusterState.nodes()) | ||
| .add(newNode("node3")).add(newNode("node4")).add(newNode("node5")).add(newNode("node6")).add(newNode("node7")).add(newNode("node8")).add(newNode("node9")).add(newNode("node10"))) | ||
| .add(newNode("node3")).add(newNode("node4")).add(newNode("node5")).add(newNode("node6")) | ||
| .add(newNode("node7")).add(newNode("node8")).add(newNode("node9")).add(newNode("node10"))) |
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.
Could you line this up with the one above it?
| client().admin().indices().prepareCreate("test").setSettings(Settings.builder() | ||
| .put("index.number_of_shards", "1").put("index.number_of_replicas", 0).put("index.routing.allocation.include.tag", "A")).execute().actionGet(); | ||
| .put("index.number_of_shards", "1").put("index.number_of_replicas", 0) | ||
| .put("index.routing.allocation.include.tag", "A")).execute().actionGet(); |
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.
Could you line this up with the one above it?
| client().admin().indices().prepareCreate("test").setSettings(Settings.builder() | ||
| .put("index.number_of_shards", "4").put("index.number_of_replicas", 0).put("index.routing.allocation.include.tag", "A")).execute().actionGet(); | ||
| .put("index.number_of_shards", "4").put("index.number_of_replicas", 0) | ||
| .put("index.routing.allocation.include.tag", "A")).execute().actionGet(); |
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.
This one too?
relates #34923, #34884