mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-243 fixed replication issue -- we should PUT remote removed key into the map even it was absent
This commit is contained in:
@@ -2035,13 +2035,13 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
// do nothing
|
||||
}
|
||||
|
||||
private void clearMetaData(long offset) {
|
||||
final void clearMetaData(long offset) {
|
||||
if (metaDataBytes > 0)
|
||||
bytes.zeroOut(offset, offset + metaDataBytes);
|
||||
}
|
||||
|
||||
//TODO refactor/optimize
|
||||
private long alloc(int blocks) {
|
||||
final long alloc(int blocks) {
|
||||
if (blocks > maxEntryOversizeFactor)
|
||||
throw new IllegalArgumentException("Entry is too large: requires " + blocks +
|
||||
" entry size chucks, " + maxEntryOversizeFactor + " is maximum.");
|
||||
|
||||
Reference in New Issue
Block a user