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

graph hosts Status is wrong, switch online and offline randomly #5166

Closed
nebula-bots opened this issue Dec 30, 2022 · 1 comment
Closed

graph hosts Status is wrong, switch online and offline randomly #5166

nebula-bots opened this issue Dec 30, 2022 · 1 comment
Labels
affects/master PR/issue: this bug affects master version. auto-sync process/done Process of bug severity/minor Severity of bug

Comments

@nebula-bots
Copy link
Contributor

Please check the FAQ documentation before raising an issue

Describe the bug (required)
when I start 5 graph, and show hosts graph

(root@nebula) [(none)]> show hosts graph
+-----------------+------+-----------+---------+--------------+----------------------+
| Host            | Port | Status    | Role    | Git Info Sha | Version              |
+-----------------+------+-----------+---------+--------------+----------------------+
| "graph-0.graph" | 9669 | "ONLINE"  | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-1.graph" | 9669 | "ONLINE"  | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-2.graph" | 9669 | "ONLINE"  | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-3.graph" | 9669 | "OFFLINE" | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-4.graph" | 9669 | "OFFLINE" | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
+-----------------+------+-----------+---------+--------------+----------------------+
Got 5 rows (time spent 1214/1652 us)

Fri, 30 Dec 2022 14:00:39 CST

(root@nebula) [(none)]> show hosts graph
+-----------------+------+-----------+---------+--------------+----------------------+
| Host            | Port | Status    | Role    | Git Info Sha | Version              |
+-----------------+------+-----------+---------+--------------+----------------------+
| "graph-0.graph" | 9669 | "ONLINE"  | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-1.graph" | 9669 | "ONLINE"  | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-2.graph" | 9669 | "ONLINE"  | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-3.graph" | 9669 | "OFFLINE" | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-4.graph" | 9669 | "ONLINE"  | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
+-----------------+------+-----------+---------+--------------+----------------------+
Got 5 rows (time spent 1172/1616 us)

Fri, 30 Dec 2022 14:00:40 CST

(root@nebula) [(none)]> show hosts graph
+-----------------+------+-----------+---------+--------------+----------------------+
| Host            | Port | Status    | Role    | Git Info Sha | Version              |
+-----------------+------+-----------+---------+--------------+----------------------+
| "graph-0.graph" | 9669 | "ONLINE"  | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-1.graph" | 9669 | "OFFLINE" | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-2.graph" | 9669 | "ONLINE"  | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-3.graph" | 9669 | "OFFLINE" | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
| "graph-4.graph" | 9669 | "ONLINE"  | "GRAPH" | "e287363"    | "2022.12.29-nightly" |
+-----------------+------+-----------+---------+--------------+----------------------+
Got 5 rows (time spent 1069/1473 us)

Fri, 30 Dec 2022 14:00:42 CST

Your Environments (required)

  • OS: uname -a
  • Compiler: g++ --version or clang++ --version
  • CPU: lscpu
  • Commit id (master nightly e287363)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

@nebula-bots nebula-bots added affects/none PR/issue: this bug affects none version. auto-sync severity/none Severity of bug type/bug Type: something is unexpected labels Dec 30, 2022
@critical27
Copy link
Contributor

Is your heartbeat_interval_secs in graphd and meta are same value?

@nebula-bots nebula-bots removed the type/bug Type: something is unexpected label Dec 30, 2022
@nebula-bots nebula-bots added affects/master PR/issue: this bug affects master version. severity/minor Severity of bug and removed severity/none Severity of bug affects/none PR/issue: this bug affects none version. labels Dec 31, 2022
@nebula-bots nebula-bots added the process/done Process of bug label Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/master PR/issue: this bug affects master version. auto-sync process/done Process of bug severity/minor Severity of bug
Projects
None yet
Development

No branches or pull requests

3 participants