You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/09 10:42:57 UTC

[GitHub] [pulsar] tisonkun commented on issue #6433: MessageId#compare is not symmetric (MessageIdImpl, BatchMessageIdImpl)

tisonkun commented on issue #6433:
URL: https://github.com/apache/pulsar/issues/6433#issuecomment-1344141664

   Closed as fixed.
   
   Also, the original issue is incorrect because switching the operator of a corporation is never symmetric. The invariant here is:
   
   ```java
   a.compareTo(b) + b.compareTo(a) == 0;
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org