Hello, in Elasticsearch 6.6.2 i'm having this weird problem
where elastic stops performing any modification to data. Any UPDATE/INDEX/DELETE operation
returns OK result but data never change in indexes. I see no errors in logs.
If i restart ES it resumes working correctly, than after a couple of days it's locked again.
All indexes are open and green.
Hello @dadoonet, thanks for your reply. The issue is observed in a production application where there are many processes writing to elastic on different indexes continuously from 5s to 1m frequency. We have many tens of instances of application and this issue is observed for first time only on this instance. All processes receive "updated" or "created" results but indexes does not contain written documents when we perform searches. I also see in _cat/indices that documents count is not growing.
For reference, i manually tried deleting a document with: DELETE localhost:9200/test.index/metrics/test
result:
than (even after minutes): GET localhost:9200/test.index/_search
still shows me document.
Weird enough, if i try to delete document again i receive 404.
I'd recommend upgrading to 6.8 as it might fix the problem. I honestly don't know what is happening.
Unless you have disabled the refresh or change its default value for the index.
This is what i get. Should i expect to see some additional field if refresh is changed? Currently DB is restarted and operative, i should wait to get it hanged.
Hello, sorry for reopening discussion, I've observed behavior after restart and all documents written during the malfunctioning period were correctly written, in fact, i can see them after restart. It seems that hanging happens only at search level. All searches does not return latest documents (either new or updated) yet they return a freezed version of indexes.
May this help identifying the issue?
Thanks
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.