DBZ-5031 Stop skipping message if last received lsn is higher or equal to the startStreamingLsn in WalPositionLocation
This commit is contained in:
parent
44107961e5
commit
29fbdc03bf
@ -130,7 +130,7 @@ public boolean skipMessage(Lsn lsn) {
|
||||
if (passMessages) {
|
||||
return false;
|
||||
}
|
||||
if (startStreamingLsn == null || startStreamingLsn.equals(lsn)) {
|
||||
if (startStreamingLsn == null || startStreamingLsn.compareTo(lsn) <= 0) {
|
||||
LOGGER.info("Message with LSN '{}' arrived, switching off the filtering", lsn);
|
||||
passMessages = true;
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user