Commit Graph

202 Commits

Author SHA1 Message Date
f10c2e28b8 Drone yml config
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-25 17:23:05 +01:00
f04d21e1d1 Drone yml config
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-25 17:21:15 +01:00
afbffffef6 Update .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-25 15:37:31 +00:00
6c7913fcc8 Drone yml config
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-11-25 16:18:14 +01:00
44cc8c770c Drone yml config
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-11-25 16:08:55 +01:00
69df16da96 Drone yml config
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-11-25 16:06:17 +01:00
c0d8cc348c Fixed build 2023-11-25 09:11:39 +01:00
789a5f6abc Fixed build 2023-11-25 08:18:02 +01:00
db9bb4ccdf Add RETIRED.txt 2018-08-27 09:29:55 -04:00
9fecfec8a2 Small merge conflict 2017-09-03 14:40:45 -04:00
7c457eb3f4 GOSSIP-41 Transfer gossip data in bulk 2017-08-28 15:59:15 +02:00
5ed3ed85cf GOSSIP-75 Vote based locking 2017-08-23 23:31:39 +05:30
ac83038932 GOSSIP-38 Multiple async GossipListeners 2017-08-21 11:58:15 +02:00
968571a563 Merge branch 'master' of https://github.com/pxsalehi/incubator-gossip 2017-08-08 21:20:24 -04:00
5280dc8a18 GOSSIP-87 removed WORKQUEUE_SIZE metric 2017-08-08 19:23:22 +02:00
4572eed73d GOSSIP-87 Unused workQueue in gossipCore 2017-08-03 14:03:24 +02:00
95e1667700 Merge branch 'GOSSIP-89' of https://github.com/Terry-Weymouth/incubator-gossip 2017-08-01 21:58:07 -04:00
94da0bb643 GOSSIP-88 Data Replication Control 2017-07-18 23:25:52 +05:30
1c673c8597 GOSSIP-89 - Refactor gossip examples; common code in base class. 2017-07-18 07:12:28 -05:00
95cce48a8e Merge branch 'GOSSIP-66' of https://github.com/makrusak/incubator-gossip 2017-07-17 18:54:26 -04:00
6ef0eb788f Fixed Gossip-92 =; crdt/CrdtAddRemoveSet.java missing license header 2017-07-02 09:02:26 -04:00
89af0ac112 GOSSIP-66 Implement Crdt 2P-Set 2017-06-30 10:16:22 +03:00
f71460ab3d GOSSIP-91 Fixed random test failure in SharedDataEventTest 2017-06-27 18:49:56 +05:30
1769449515 GOSSIP-64 Implement Max-Change-Sets 2017-06-26 21:24:07 -04:00
49cdac62a2 GOSSIP-62 Implement Crdt PN-Counter
restored layout of pom.xml for minimal changes in PR

Snapshot - I think I have the basic framework in place. No tests are passing and nothing works, but most of the calls and the builder are in place.

capture working code

starting working on example code

Working examples

GOSSIP-65 Implement crdt LWW-Element-Set

LWWSet implemented + se/de + unit tests + jackson tests + DataTests

GOSSIP-55 Added event handlers to notify share data and per node data changes

Reformat code to match apache standard

Fixed DataTest errors WRT PNCounter
2017-06-25 11:04:49 -04:00
c009b77d2a Merge branch 'GOSSIP-55' of https://github.com/Mirage20/incubator-gossip 2017-06-20 08:56:39 -04:00
ade33a9e58 GOSSIP-55 Added event handlers to notify share data and per node data changes 2017-06-20 18:17:07 +05:30
602a79bfc6 GOSSIP-65 Implement crdt LWW-Element-Set
LWWSet implemented + se/de + unit tests + jackson tests + DataTests
2017-06-19 22:56:36 +03:00
9c9d96e564 GOSSIP-86 Examples in separate module - Added Readme. 2017-06-05 08:21:46 -04:00
c62ebaf9b6 GOSSIP-85 Factor out PassiveGossipThread 2017-05-03 16:57:50 -04:00
e3010c8542 GOSSIP-81 Move Jackson and UDP to their own modules
Part of what makes this work is the test implementation of TransportManager.

This PR is pretty straightforward. A few gotchas though:
* A message signing test was moved into `JacksonTests` because that is
  where the signing actually happens.
* A CRDT serializing test was moved there as well. It's the best place
  for now.
* No UDP tests at all. I plan to fix that in a bit. Reasoning is that it is
  difficult to test any TransportManager implementation without bring up
  a full stack. I plan to address this in the future (GOSSIP-83).
* Simple round trip Jackson serialization tests.
2017-04-21 08:47:31 -05:00
851cd93e67 GOSSIP-79 Isolate UDP and JSON code
With these changes, it should now be possible to create alternate serialization (e.g. Gson or native) and transports (like HTTP).

To make this PR reviewable I decided against creating new modules right now. That can be done subsequently in another PR that doesn't modify any code.

* Creates two new interfaces: `TransportManager` and `ProtocolManager`
  * Implementation classes must honor a common constructor interface
* Includes UDP and Jackson implementations of those.
* `AbstractTransportManager` has a lot of boilerplate that includes:
  * starting the active gossiper, and
  * starting the passive gossiper.

I spent some time trying to polish the implementations to become less dependent on references to `GossipManager`. I still feel there is a lot of room for improvement.
2017-04-19 09:32:58 -05:00
c544b8bf16 GOSSIP-80 Sundry cleanups
* remove redundant parameter from method call.
* remove uncessary threadpool.
* Simplify `GossipCore.sendOneWay()`
* Cleanup useage of `MessageInvoker`
  * `DefaultMessageInvoker` replaced by a factory
  * `MessageInvokerCombiner` replaced by same factory
  * Alter `MessageInvokerTest` to not rely on specific types
  * Remove type assertion from `GossipManagerBuilderTest`
* Merge `MessageInvoker` with `MessageHandler`
  * This required changing method signature return type from `void` to `boolean`.
2017-04-17 10:54:24 -05:00
298b1ae3ae GOSSIP-78 refactor into a multi-module maven project
* add *.ipr to .gitignore
* modify existing pom to be a parent. create new pom for gossip-core.
* I left all properties and dependencies in the parent, as they seemed to be a fairly general set of dependencies.
move all the code.
* rename parent module: gossip -> gossip-parent
* move dependencies into child module
2017-04-13 10:12:23 -05:00
6a4d50cae7 GOSSIP-77 better send() 2017-03-20 22:04:07 -04:00
4aafc3ba3b GOSSIP-74 Phi calculation or sampling is wrong in FailureDetector 2017-03-19 22:20:38 -04:00
0136dd9395 GOSSIP-49 Refactor Failure detector Lambda into named class 2017-03-16 18:14:04 +03:00
4eafd58ecc GOSSIP-73 gcounter to example app 2017-03-10 18:57:51 -05:00
2622248e7b GOSSIP-63 merge cleanup 2017-03-10 11:10:31 -05:00
19662d1500 GOSSIP-72 rebase on trunk 2017-03-10 07:39:36 -05:00
bcd10510ee Merge branch 'GOSSIP-46' of https://github.com/edwardcapriolo/incubator-gossip 2017-03-10 07:23:58 -05:00
da1aba9c71 GOSSIP-63 Added CRDT G-Counter implementation 2017-03-09 13:44:49 +05:30
5199821980 GOSSIP-46 Refactor away GossipService cleaner better class names 2017-03-06 17:30:19 -05:00
dc0c727c2c GOSSIP-72 Generate keys directory in target 2017-03-06 14:00:07 -05:00
17551c8817 [maven-release-plugin] prepare for next development iteration 2017-03-03 10:22:39 -05:00
d5fe9f96c8 [maven-release-plugin] prepare release gossip-0.1.2-incubating 2017-03-03 10:22:29 -05:00
22b9e756d4 GOSSIP-71 not merging correctly (egc & maxim) 2017-03-01 14:27:34 -05:00
026b8bb488 GOSSIP-59 OrSet implementation 2017-02-26 13:54:55 -05:00
b71be5e16a GOSSIP-53 CRDT types 2017-02-19 16:14:30 -05:00
400cb40cba GOSSIP-58 Minor cleanups 2017-02-17 00:46:17 -05:00