Hello, i faced with problem that each node in two nodes cluster send full state of two ORMap every
distributed-data.gossip-interval.
I used akka 2.5.13, artery for transport, two actors (on each node), each actor send to replicator own changes of ORMap<String, Dgroup>.
Dgroup that type extends AbstractReplicatedData and implements ReplicatedDataSerialization.
Here’s the log
a.r.a.Encoder - sending remote message [Gossip(Map(event.3792209 → DataEnvelope(ORMap(
group.2043064276264301 → Dgroup{id=2043064276264301, factValues=PNCounterMap(), version=GCounter(0), factsSet=GSet()},
group.2041891226523599 → Dgroup{id=2041891226523599, factValues=PNCounterMap(), version=GCounter(0), factsSet=GSet()},
group.2041373232281131 ->Dgroup{id=2041373232281131, factValues=PNCounterMap(), version=GCounter(0), factsSet=GSet()},
group.2042184502568969 → Dgroup{id=2042184502568969, factValues=PNCounterMap(), version=GCounter(0), factsSet=GSet()}),Map(), VersionVector(UniqueAddress(akka://Test@127.0.0.1:2551,-663867923909857583) → 1, UniqueAddress(akka://Test@127.0.0.1:2552,5656432729175541792) → 1)),
event.1524823 → DataEnvelope(ORMap(
group.209142229049073 → Dgroup{id=209142229049073, factValues=PNCounterMap(), version=GCounter(0), factsSet=GSet()}),Map(),
VersionVector(UniqueAddress(akka://Test@127.0.0.1:2551,-663867923909857583) → 1, UniqueAddress(akka://Test@127.0.0.1:2552,5656432729175541792) → 1))),true)]
to [Actor[akka://Test@127.0.0.1:2552/system/ddataReplicator#55107212]] from [Actor[akka://Test/system/ddataReplicator#1630010406]]
This ORMap doesn’t change in my test but it still send full state.
As i know ORMap should be replicated by delta or full state depends on max-delta-elements .
What wrong with it ?