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

[BUG] Topology ERROR after a rare transaction #5005

Closed
s8sato opened this issue Aug 23, 2024 · 1 comment
Closed

[BUG] Topology ERROR after a rare transaction #5005

s8sato opened this issue Aug 23, 2024 · 1 comment
Assignees
Labels
Bug Something isn't working

Comments

@s8sato
Copy link
Contributor

s8sato commented Aug 23, 2024

OS and Environment

Linux, test_env.py

GIT commit hash

76dafdc

Minimum working example / Steps to reproduce

Prepare transaction.json (example) with a few instructions and,

git checkout 76dafdc
cargo build
LOG_LEVEL=ERROR ./scripts/test_env.py --peer-name-as-seed setup
cd test

Repeat the following with a sufficiently long period:

cat transaction.json | ./iroha json transaction

Actual result

Every peer logs a topology ERROR like this:

test/peers/iroha0/log.txt

  2024-08-22T15:26:03.161900Z ERROR iroha_core::sumeragi::main_loop: Topology rotated n times, peer_id: ed012003415E0E516BE83870CE5A2165605E8719216B5ECCCE4AEDFB0B2B77862B3798@@127.0.0.1:1337, prev_role: ProxyTail, next_role: ValidatingPeer, n: 1, view_change_index: 1
    at core/src/sumeragi/main_loop.rs:915

Expected result

There should be no ERROR level logs in normal use

Logs

See Actual result section

Who can help to reproduce?

@s8sato

Notes

No response

@s8sato s8sato added the Bug Something isn't working label Aug 23, 2024
@alexstroke1 alexstroke1 self-assigned this Oct 10, 2024
@alexstroke1
Copy link
Contributor

No errors on the last main
Image

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

2 participants