When reincarnating, the incarnation number is always "bumped" to the current time in ms. If we reincarnate twice in one ms, the incarnation number is not really bumped.
By can make sure it's always increasing by using max(currentIncarnationNumber + 1, Date.now()).
When reincarnating, the incarnation number is always "bumped" to the current time in ms. If we reincarnate twice in one ms, the incarnation number is not really bumped. By can make sure it's always increasing by using
max(currentIncarnationNumber + 1, Date.now())
.(go: uber/ringpop-go#163)