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

Growing amount of block decoding errors #1386

Closed
m0leynik opened this issue Apr 25, 2022 · 0 comments · Fixed by #1393
Closed

Growing amount of block decoding errors #1386

m0leynik opened this issue Apr 25, 2022 · 0 comments · Fixed by #1393

Comments

@m0leynik
Copy link

System Information:
Operating system: Ubuntu 20.04.4 LTS
Quorum v22.4.0 9fd8fc28
go version go1.17.8 linux/amd64

Steps to reproduce:

  1. Create a private Raft network following instructions from tutorial until step 6 (Start node 1)
  2. After step 6 from tutorial stop the node (via Ctrl+C)
  3. Start the node once again using the same command
  4. Repeat steps 2-3 several times

Actual behavior:
Block decoding errors appear in the log just after the node is restarted (from startRaft function):

INFO [04-22|18:17:00.883] replaying WAL 
INFO [04-22|18:17:00.883] loading WAL 
ERROR[04-22|18:17:00.884] error decoding block:                    err=EOF

Every node restart produces +1 error. The amount of these errors is growing linearly.
For example: 6 restarts - 6 block decoding errors.
So after 6th restart the log looks like:

INFO [04-22|16:22:19.280] replaying WAL 
INFO [04-22|16:22:19.280] loading WAL                              term=0 index=0
ERROR[04-22|16:22:19.280] error decoding block:                    err=EOF
ERROR[04-22|16:22:19.280] error decoding block:                    err=EOF
ERROR[04-22|16:22:19.280] error decoding block:                    err=EOF
ERROR[04-22|16:22:19.280] error decoding block:                    err=EOF
ERROR[04-22|16:22:19.280] error decoding block:                    err=EOF
ERROR[04-22|16:22:19.280] error decoding block:                    err=EOF

Expected behavior:
No growing amount of block decoding errors.

Note:
I also tried different versions of Quorum - v21.10.1, v21.10.2, v22.4.0. The behavior is same.
I'm not sure it's a bug, but at least it looks a bit strange.
Thank you.

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

Successfully merging a pull request may close this issue.

2 participants