You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic: sync: WaitGroup is reused before previous Wait has returned randomly happens on node shutdown, leading to unclean shutdown and data loss on the node.
I stop one of the non-validator nodes once in a day to safely take a disk snapshot.
I have observed this panic message once in a month or two.
Steps to reproduce the behaviour
Launch a QBFT cluster and schedule a normal shutdown once in a day.
Sometimes panic: sync: WaitGroup is reused before previous Wait has returned message appears on node shutdown, causing data loss on the node.
The text was updated successfully, but these errors were encountered:
It seems that this panic message is not completely random and there are some situations where its probability gets high, which means just repeating systemctl start and systemctl stop is not enough to reproduce this.
I suspect this is some kind of race condition and there needs to be enough dirty caches for that to happen.
Expected behaviour
Panic should not happen on normal node shutdown.
Actual behaviour
panic: sync: WaitGroup is reused before previous Wait has returned
randomly happens on node shutdown, leading to unclean shutdown and data loss on the node.I stop one of the non-validator nodes once in a day to safely take a disk snapshot.
I have observed this panic message once in a month or two.
Steps to reproduce the behaviour
Launch a QBFT cluster and schedule a normal shutdown once in a day.
Sometimes
panic: sync: WaitGroup is reused before previous Wait has returned
message appears on node shutdown, causing data loss on the node.The text was updated successfully, but these errors were encountered: