PakhomovAlexander commented on code in PR #5209:
URL: https://github.com/apache/ignite-3/pull/5209#discussion_r1989457857
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TxManagerImpl.java:
##########
@@ -525,12 +525,12 @@ private static long
physicalExpirationTimeMillis(HybridTimestamp beginTimestamp,
}
private static long sumWithSaturation(long a, long b) {
- assert a >= 0 : a;
- assert b >= 0 : b;
+ assert a >= USE_CONFIGURED_TIMEOUT_DEFAULT : a;
+ assert b >= USE_CONFIGURED_TIMEOUT_DEFAULT : b;
long sum = a + b;
- if (sum < 0) {
+ if (sum < USE_CONFIGURED_TIMEOUT_DEFAULT) {
Review Comment:
Woop, the IDEA did something wrong, rolled it back.
--
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]