Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Oct 26, 2018

relates #34923, #34884

@rjernst rjernst added >non-issue :Core/Infra/Core Core issues without another label v7.0.0 v6.6.0 labels Oct 26, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@nik9000
Copy link
Member

nik9000 commented Oct 27, 2018 via email

Copy link
Member

@nik9000 nik9000 left a 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" +
Copy link
Member

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")))
Copy link
Member

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();
Copy link
Member

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();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one too?

@rjernst rjernst merged commit 5dda2b0 into elastic:master Oct 30, 2018
@rjernst rjernst deleted the cluster_linelength2 branch October 30, 2018 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants