elastic / elasticsearch-py

Official Python client for Elasticsearch
https://ela.st/es-python
Apache License 2.0
4.23k stars 1.18k forks source link

Mixing courseware_index from 2 servers #1225

Closed eazaika closed 4 years ago

eazaika commented 4 years ago

elasticsearch-py 1.9.0, python 2.7 There are 2 same servers in one subnet. Using for indexing online courses (open edX, hawthorn). When you Reindex course on first server it appears in courseware_index of second server. I have no idea how it happens

sethmlarson commented 4 years ago

This doesn't seem like reporting a defect in elasticsearch-py. Also v1.9.0 is no longer supported. Maybe you should check your configuration for the individual servers.

eazaika commented 4 years ago

Found special settings for elasticsearch.yml:

discovery.zen.ping.multicast.enabled: false
node.local: true

service elasticsearch restart