fixed the support of null lsn from storage
@@ -67,6 +67,9 @@ public class ODistributedSyncConfiguration {
public void setLastLSN(final String server, final OLogSequenceNumber lsn, final boolean updateLastOperationTimestamp)
throws IOException {
+ if (lsn == null)
+ lastLSN.put(server, new OLogSequenceNumber(-1, -1));
+ else
lastLSN.put(server, lsn);
if (updateLastOperationTimestamp) {
