These are chat archives for RBMHTechnology/eventuate
Global-scale event sourcing and event collaboration with causal consistency
CRDTService. What's your use case?
I was looking at existing CRDTs implementations - in most cases they look like crdt service exposes operation, which maps almost 1-1 to underlying crdt method. Moreover CRDTSpecs are validating crdts directly - CRDTService code is not validated there.
But for RGArray an insert position is a combination of a int identifier and emitterId - i.e. the only valid form I've found is
RGArray.insert(index: Position, value: A, newPos: Position) (newPos is the position identifier to value), but it shouldn't be used like that - user should not have to generate unique position identifiers. This is done via
RGArrayService.insertRight(id: String, index: Position, value: A)