From 16f7025a8813019cc4ee0fd55431ce5bdb4fdd7b Mon Sep 17 00:00:00 2001 From: Yuriy Syrovetskiy Date: Tue, 14 Aug 2018 11:53:28 +0300 Subject: [PATCH] Add semantics of the op key fields --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eb4f623..3b4e18b 100644 --- a/README.md +++ b/README.md @@ -131,10 +131,14 @@ four UUID types: These UUIDs are: - 1. data type UUID, e.g. `lww` a last-write-wins object, - 2. object UUID `1TUAQ+gritzko`, - 3. event UUID `1TUAQ+gritzko` and - 4. location/reference UUID, e.g. `bar`. + 1. data type UUID, e.g. `lww` a last-write-wins object, + which is used by the Swarm platform to select reducer function to reduce ops; + 2. object UUID `1TUAQ+gritzko`, + which is used by the Swarm platform to group ops for reduce (along with location); + 3. event UUID `1TUAQ+gritzko`, + which is used by the Swarm platform to sort ops for reduce; + 4. location/reference UUID, e.g. `bar`, + which is used by the Swarm platform to group ops for reduce (along with object UUID). Other atoms (any number, any type) form the op's value. Op atoms types are: