mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-403 When the following setting is set on chronicle map "bootstrapOnlyLocalEntries==false", it is not sending all the entries.
This commit is contained in:
@@ -1579,10 +1579,7 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bootstrapOnlyLocalEntries if true - only entries that have been create from this
|
||||
* node will be published during a bootstrap
|
||||
*/
|
||||
|
||||
public void dirtyEntries(final long timeStamp,
|
||||
final EntryModifiableCallback callback,
|
||||
final boolean bootstrapOnlyLocalEntries) {
|
||||
@@ -1869,12 +1866,6 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
|
||||
final Bytes entry =
|
||||
segment.reuse(tmpBytes, segment.offsetFromPos(segmentPos));
|
||||
|
||||
// if the entry should be ignored, we'll move the next entry
|
||||
if (entryCallback.shouldBeIgnored(entry, chronicleId)) {
|
||||
changes.clear(position);
|
||||
continue;
|
||||
}
|
||||
|
||||
// it may not be successful if the buffer can not be re-sized so we will
|
||||
// process it later, by NOT clearing the changes.clear(position)
|
||||
final boolean success = entryCallback.onEntry(entry,
|
||||
|
||||
Reference in New Issue
Block a user