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

Unexpected Meta log keep printing #5248

Closed
Aiee opened this issue Jan 12, 2023 · 1 comment
Closed

Unexpected Meta log keep printing #5248

Aiee opened this issue Jan 12, 2023 · 1 comment
Assignees
Labels
affects/none PR/issue: this bug affects none version. process/done Process of bug severity/minor Severity of bug type/bug Type: something is unexpected
Milestone

Comments

@Aiee
Copy link
Contributor

Aiee commented Jan 12, 2023

Please check the FAQ documentation before raising an issue

Describe the bug (required)

Your Environments (required)

  • OS: uname -a
  • Compiler: g++ --version or clang++ --version
  • CPU: lscpu
  • Commit id master branch

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Make sure there are sessions in the service
  2. start all services

The log below keeps printing

I20230112 16:14:14.974375 2258045 HBProcessor.cpp:33] Receive heartbeat from "127.0.0.1":39735, role = STORAGE
I20230112 16:14:14.980182 2258045 SessionManagerProcessor.cpp:130] resp list session: 1673344969031695
I20230112 16:14:15.931699 2258045 HBProcessor.cpp:33] Receive heartbeat from "127.0.0.1":29562, role = GRAPH
I20230112 16:14:15.932996 2258045 SessionManagerProcessor.cpp:130] resp list session: 1673344969031695
I20230112 16:14:16.951786 2258045 HBProcessor.cpp:33] Receive heartbeat from "127.0.0.1":29562, role = GRAPH
I20230112 16:14:16.996390 2258045 HBProcessor.cpp:33] Receive heartbeat from "127.0.0.1":39735, role = STORAGE
I20230112 16:14:17.001863 2258045 SessionManagerProcessor.cpp:130] resp list session: 1673344969031695
I20230112 16:14:17.953302 2258045 HBProcessor.cpp:33] Receive heartbeat from "127.0.0.1":29562, role = GRAPH
I20230112 16:14:17.954546 2258045 SessionManagerProcessor.cpp:130] resp list session: 1673344969031695
I20230112 16:14:18.973493 2258045 HBProcessor.cpp:33] Receive heartbeat from "127.0.0.1":29562, role = GRAPH
I20230112 16:14:19.018206 2258045 HBProcessor.cpp:33] Receive heartbeat from "127.0.0.1":39735, role = STORAGE
I20230112 16:14:19.024345 2258045 SessionManagerProcessor.cpp:130] resp list session: 1673344969031695
I20230112 16:14:19.975003 2258045 HBProcessor.cpp:33] Receive heartbeat from "127.0.0.1":29562, role = GRAPH
I20230112 16:14:19.976286 2258045 SessionManagerProcessor.cpp:130] resp list session: 1673344969031695

After digging into this problem, the log was produced by heartbeat, because the graph keeps loading data from meta service. This shows that the meta service is frequently updated by the request from the storage service.

bool MetaClient::loadData() {
  if (options_.role_ != cpp2::HostRole::UNKNOWN &&
      localDataLastUpdateTime_ == metadLastUpdateTime_) {
    return true;
  }

Expected behavior

Additional context

@Aiee Aiee added the type/bug Type: something is unexpected label Jan 12, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Jan 12, 2023
@Aiee Aiee added severity/minor Severity of bug and removed affects/none PR/issue: this bug affects none version. labels Jan 12, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. and removed severity/none Severity of bug labels Jan 12, 2023
@Sophie-Xie Sophie-Xie added this to the v3.4.0 milestone Jan 13, 2023
@Aiee
Copy link
Contributor Author

Aiee commented Jan 17, 2023

Fixed in #5266

@Aiee Aiee closed this as completed Jan 17, 2023
@github-actions github-actions bot added the process/fixed Process of bug label Jan 17, 2023
@HarrisChu HarrisChu added the process/done Process of bug label Jan 17, 2023
@github-actions github-actions bot removed the process/fixed Process of bug label Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. process/done Process of bug severity/minor Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

3 participants