Skip to content
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

Endless re-syncing mappings #10581

Closed
heffergm opened this issue Apr 13, 2015 · 1 comment
Closed

Endless re-syncing mappings #10581

heffergm opened this issue Apr 13, 2015 · 1 comment
Assignees
Labels
>bug :Search/Mapping Index mappings, including merging and defining field types

Comments

@heffergm
Copy link

We're running into an recurring issue of late where any change in cluster state (typically a node restart during an upgrade for example) results in the following errors streaming to the log of the currently elected master, as well as very high I/O on all eligible masters:

[2015-04-13 21:02:37,917][WARN ][cluster.metadata         ] [elasticsearch-master2.localdomain] [pelias] 
re-syncing mappings with cluster state for types [[osmway, locality, openaddresses, geonames
osmaddress, admin0, neighborhood, admin2, osmnode, admin1, local_admin]]

We are presently running 1.5.1, but we had the same issue on 1.5.0. I'm cannot say with certainty whether we experienced the issue under 1.4.x. The production cluster setup is as follows, but we have also seen this problem in local development (single node):

  • 3 master eligible nodes
  • 2 routing (no data, no master) nodes
  • 8 data nodes
  • 40 shards, no replicas, ~600gb of data

The problematic mapping seems to be the location part of the suggester field:

PUT pelias
{
  "mappings": {
    "admin0": {
      "properties": {
        "suggest": {
          "context": {
            "dataset": {
              "default": [],
              "path": "_type",
              "type": "category"
            },
            "location": {
              "default": [],
              "neighbors": true,
              "path": "center_point",
              "precision": [2,3,1,5,4],
              "type": "geo"
            }
          },
          "max_input_length": 50,
          "payloads": false,
          "preserve_position_increments": false,
          "preserve_separators": false,
          "type": "completion"
        }
      }
    }
  }
}
@clintongormley
Copy link

@areek please could you take a look at this. It appears to be the reordering of the precision field, as mentioned in #8937

areek added a commit to areek/elasticsearch that referenced this issue Apr 15, 2015
areek added a commit to areek/elasticsearch that referenced this issue Apr 15, 2015
areek added a commit to areek/elasticsearch that referenced this issue Apr 15, 2015
@areek areek closed this as completed in c326738 Apr 15, 2015
areek added a commit that referenced this issue Apr 15, 2015
areek added a commit that referenced this issue Apr 15, 2015
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Mapping Index mappings, including merging and defining field types
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants