tkalkirill commented on code in PR #3475:
URL: https://github.com/apache/ignite-3/pull/3475#discussion_r1538625391
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/LowWatermarkImpl.java:
##########
@@ -292,9 +272,87 @@ private void setLowWatermark(@Nullable HybridTimestamp
newLowWatermark) {
updateLowWatermarkLock.writeLock().lock();
try {
+ assert newLowWatermark == null || lowWatermark == null ||
newLowWatermark.compareTo(lowWatermark) > 0 :
Review Comment:
Only in one case, at the start of the node, when the low watermark had never
been updated. Let's create another method.
--
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]