If we got the right predecessor and successor the first time, the predecessor is not immediately notified.
So I added an extra notification after predecessorSet = true; and it seems to work.
predecessorSet = true; refs.get(0).notify(localNode);
Log in to post a comment.