mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Fixed a bug in ReplicatedChronicleMap -- forgot to drop relocated entry
mod iter bits
This commit is contained in:
@@ -429,6 +429,11 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
void beforeRelocation() {
|
||||
m().dropChange(segmentIndex, pos);
|
||||
}
|
||||
|
||||
@Override
|
||||
boolean freeListBitsSet() {
|
||||
// As of now, ReplicatedChMap's remove() never clear the bits
|
||||
|
||||
@@ -1367,8 +1367,9 @@ final class TcpReplicator<K, V> extends AbstractChannelReplicator implements Clo
|
||||
}
|
||||
}
|
||||
}
|
||||
} else
|
||||
} else {
|
||||
externalizable.readExternalEntry(context, out);
|
||||
}
|
||||
|
||||
out.limit(limit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user