ibessonov commented on code in PR #1016:
URL: https://github.com/apache/ignite-3/pull/1016#discussion_r958102248


##########
modules/metastorage-client/src/main/java/org/apache/ignite/internal/metastorage/client/SimpleCondition.java:
##########
@@ -77,6 +77,8 @@ public long revision() {
          * @throws IllegalStateException In the case when the condition is 
already defined.
          */
         public SimpleCondition eq(long rev) {
+            assert rev > 0 : "Revision must be positive.";

Review Comment:
   2. Yes, I mean something like that. Is this even possible? I guess asserts 
are ok



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to