bug fixes to chronicle-engine

This commit is contained in:
Rob Austin
2015-12-22 16:53:16 +00:00
parent be0cb6f578
commit fc685a68c9
@@ -1177,8 +1177,6 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
// put callbacks
boolean hasValueChanged = updateResult != UpdateResult.UNCHANGED;
System.out.println("put pos=" + pos + ", key=" + key);
onPutMaybeRemote(segmentState.pos, false);
if (bytesEventListener != null) {
bytesEventListener.onPut(
@@ -1912,8 +1910,6 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
long offset = segment.offsetFromPos(segmentPos);
final Bytes entry = segment.reuse2(tmpBytes, offset);
System.out.println("changes.get(" + position + ")");
// 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,