[
https://issues.apache.org/jira/browse/GOSSIP-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053299#comment-16053299
]
ASF GitHub Bot commented on GOSSIP-65:
--------------------------------------
Github user edwardcapriolo commented on a diff in the pull request:
https://github.com/apache/incubator-gossip/pull/54#discussion_r122599122
--- Diff: gossip-base/src/test/java/org/apache/gossip/crdt/LWWSetTest.java
---
@@ -0,0 +1,142 @@
+/*
--- End diff --
MeanGirls has this definition:
{
'type': 'lww-e-set',
'bias': 'a',
'e': [
['a', 0],
['b', 1, 2],
['c', 2, 1],
['d', 3, 3]
]
}
a was created at 0 and still exists.
b was deleted after creation; it does not exist.
c was created after deletion; it exists
d was created and deleted at the same time. Bias a means we prefer adds, so
it exists.
Try to implement these cases directly as one or more tests
> Implement crdt LWW-Element-Set
> -------------------------------
>
> Key: GOSSIP-65
> URL: https://issues.apache.org/jira/browse/GOSSIP-65
> Project: Gossip
> Issue Type: New Feature
> Reporter: Edward Capriolo
> Assignee: Maxim Rusak
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)