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

Whether it is normal for E_KEY_NOT_FOUND and Leader-count is zero ? #109

Closed
awsl-dbq opened this issue Jan 28, 2022 · 1 comment
Closed

Comments

@awsl-dbq
Copy link

Hello,
I have a ubuntu
Linux 10-23-31-23 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
and deploy v2.6 with docker comopse.
The docker image is vesoft/nebula-graphd:v2.6.2 and all status is Up( healthy )

When I run show hosts
I got

(root@nebula) [(none)]> show HOSTS ;
+-------------+------+----------+--------------+----------------------+------------------------+
| Host        | Port | Status   | Leader count | Leader distribution  | Partition distribution |
+-------------+------+----------+--------------+----------------------+------------------------+
| "storaged0" | 9779 | "ONLINE" | 0            | "No valid partition" | "No valid partition"   |
| "storaged1" | 9779 | "ONLINE" | 0            | "No valid partition" | "No valid partition"   |
| "storaged2" | 9779 | "ONLINE" | 0            | "No valid partition" | "No valid partition"   |
| "Total"     |      |          | 0            |                      |                        |
+-------------+------+----------+--------------+----------------------+------------------------+
Got 4 rows (time spent 1254/2067 us)


all leader count is 0
Is it normal?

And I checked the error log and find E_KEY_NOT_FOUND

==> logs/meta1/metad-stderr.log <==
I0128 09:20:04.268604   109 HBProcessor.cpp:33] Receive heartbeat from "graphd2":9669, role = GRAPH
E0128 09:20:04.269459   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:05.109894   109 HBProcessor.cpp:33] Receive heartbeat from "graphd1":9669, role = GRAPH
E0128 09:20:05.110666   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:05.370698   109 HBProcessor.cpp:33] Receive heartbeat from "storaged1":9779, role = STORAGE
E0128 09:20:05.371452   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:05.716310   109 HBProcessor.cpp:33] Receive heartbeat from "graphd":9669, role = GRAPH
E0128 09:20:05.717150   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:05.857920   109 HBProcessor.cpp:33] Receive heartbeat from "storaged0":9779, role = STORAGE
E0128 09:20:05.858793   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:06.110962   109 HBProcessor.cpp:33] Receive heartbeat from "storaged2":9779, role = STORAGE
E0128 09:20:06.111742   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:14.278658   109 HBProcessor.cpp:33] Receive heartbeat from "graphd2":9669, role = GRAPH
E0128 09:20:14.279366   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:15.118669   109 HBProcessor.cpp:33] Receive heartbeat from "graphd1":9669, role = GRAPH
E0128 09:20:15.119354   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:15.378929   109 HBProcessor.cpp:33] Receive heartbeat from "storaged1":9779, role = STORAGE
E0128 09:20:15.379734   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:15.727334   109 HBProcessor.cpp:33] Receive heartbeat from "graphd":9669, role = GRAPH
E0128 09:20:15.728193   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:15.866679   109 HBProcessor.cpp:33] Receive heartbeat from "storaged0":9779, role = STORAGE
E0128 09:20:15.867373   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
I0128 09:20:16.119689   109 HBProcessor.cpp:33] Receive heartbeat from "storaged2":9779, role = STORAGE
E0128 09:20:16.120505   109 ActiveHostsMan.cpp:246] Get last update time failed, error: E_KEY_NOT_FOUND
@awsl-dbq awsl-dbq changed the title Whether it is normal for `E_KEY_NOT_FOUND and Leader count is zero ? Whether it is normal for E_KEY_NOT_FOUND and Leader-count is zero ? Jan 28, 2022
@wey-gu
Copy link
Contributor

wey-gu commented Jan 29, 2022

That is normal. Please create a space, you will see leaders and the error is normal, too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants