AntonShuvaev / elasticsearch4idea

Elasticsearch Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/14512-elasticsearch
59 stars 8 forks source link

Latest update no longer loads indexes #35

Closed AdrianMF closed 3 years ago

AdrianMF commented 3 years ago

I just updated the plugin yesterday and it seems something has been broken. When I go to the indexes, its just blank and no amount of refreshing seems to load them back: Screen Shot 2021-06-17 at 10 32 22 AM Screen Shot 2021-06-17 at 10 33 23 AM Screen Shot 2021-06-17 at 10 33 44 AM

AntonShuvaev commented 3 years ago

Hi!

It seems like a bug that the aliases folder is not empty when cluster is disconnected. But I cannot reproduce the issue with empty indices. Can you try to Test Connection in Edit Elasticsearch Cluster window?

AdrianMF commented 3 years ago

Looks good to me: Screen Shot 2021-06-17 at 10 49 32 AM It loads the correct aliases: Screen Shot 2021-06-17 at 10 50 32 AM

AntonShuvaev commented 3 years ago

It seems like a bug. I will investigate it. Can you try to edit cluster properties and save them? If it doesn't help try to restart IDE.

AdrianMF commented 3 years ago

I tried a few permutations of editing the cluster then created a cluster from scratch and restarted a few times with no progress on the issue.

AntonShuvaev commented 3 years ago

Which version of Elasticsearch do you use?

AdrianMF commented 3 years ago
  "version" : {
    "number" : "7.4.2",
    "build_flavor" : "oss",
    "build_type" : "tar",
    "build_hash" : "unknown",
    "build_date" : "2020-10-15T22:39:41.430997Z",
    "build_snapshot" : false,
    "lucene_version" : "8.2.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  }
AntonShuvaev commented 3 years ago

It seems like the bug related to fetching nodes info. Could you share the response of request {host}/_cat/nodes?v&full_id&h=http_address,ip,heap.percent,ram.percent,cpu,load_1m,load_5m,load_15m,node.role,master,name,id,version,disk.used,disk.avail? This will really help me because I cannot reproduce it on my local machine.

AdrianMF commented 3 years ago

Screen Shot 2021-06-17 at 1 36 42 PM

AntonShuvaev commented 3 years ago

@AdrianMF, thanks. I fixed this issue in 1.4.1 that will be available soon. Let me know if the issue will still persist.

AdrianMF commented 3 years ago

Its working now thanks!