Terracotta-OSS / terracotta-platform

http://terracotta.org
Apache License 2.0
32 stars 48 forks source link

Inspect Voter test DetachCommandWithVoter1x2IT#testDetachAndAttachVerifyWithVoter #1083

Closed mathieucarbou closed 2 years ago

mathieucarbou commented 2 years ago

The test is failing consistently. Zulu 8 and 11.

The diagnostic call to do the heartbeat() in the voter code throws an exception because the diagnostic invocation does not finish within 2 seconds. It happens when the detach command is causing the remaining active server to be blocked (consistency mode).

Also, the voter keeps running and looping, and keeps closing itself

We can see that thanks to the logs added in the DcActiveVoter (which is a wrapper around ActiveVoter) and prints more logs and exception causes,

mathieucarbou commented 2 years ago

tested and fixed in core 5.8.8