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

"indices" as disappeared on some of my clusters #99

Closed
SosthenG opened this issue Mar 9, 2023 · 7 comments
Closed

"indices" as disappeared on some of my clusters #99

SosthenG opened this issue Mar 9, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@SosthenG
Copy link

SosthenG commented Mar 9, 2023

Hi,

Since the last update I noticed that the "indices" node as disappeared but only for some of my clusters.
I can still send queries to the indices using the query console so the connection is ok.
The only common point I can find is that the two clusters missing the "indices" node are read-only remote clusters in ES 7.*

Screenshot of the missing nodes

Thanks.

@AntonShuvaev
Copy link
Owner

Hi, thanks for reporting. I'll look into it.

@AntonShuvaev AntonShuvaev added the bug Something isn't working label Mar 10, 2023
@AntonShuvaev
Copy link
Owner

Could you execute GET /_cat/indices?format=json and share what property names are present in index object?

@SosthenG
Copy link
Author

Sure, here is an example of the properties I get :

{
    "health": "green",
    "status": "open",
    "index": "offer_it_ri",
    "uuid": "5sOp4s7qTxmMG_ojlkZCfA",
    "pri": "1",
    "rep": "2",
    "docs.count": "3098802",
    "docs.deleted": "943259",
    "store.size": "477.7mb",
    "pri.store.size": "159.2mb"
  }

I forgot something the two clusters have in common: they are only accessible when I'm connected to a VPN (while the 3 others are always accessible). Not sure it's relevant but anyway.

@AntonShuvaev
Copy link
Owner

I released a fix, but I'm not 100% sure that it will fix the issue. So, I also added additional logging to the code. If the fix doesn't help, I'll need you to send me the stacktrace of the error.

To enable logging go to Help | Diagnostic Tools | Debug Log Settings and add org.elasticsearch4idea:trace to the textarea. Then reconnect to cluster to cause the error and find the stacktrace in idea.log file (Help | Show Log in Finder).

You can download the version with fix here: https://plugins.jetbrains.com/files/14512/305447/Elasticsearch-2023.1.1-223-signed.zip and install it manually or wait until it will be available in marketplace (it may take up to 2 business days).

@hwsong
Copy link

hwsong commented Mar 13, 2023

Even after installing the modified version, the same problem occurs.
In my case, indices are not visible when connecting using kubernetes port-forward.
Please note that the log is captured and attached as described above.
idea.log

@AntonShuvaev
Copy link
Owner

@hwsong Thanks for sharing the logs. I've released a new version with a fix. It will be available once it is approved.

@AntonShuvaev
Copy link
Owner

Fixed with 2023.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants