Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tsegismont/cachedataloss


https://github.com/tsegismont/cachedataloss

Last synced: 6 days ago
JSON representation

Awesome Lists containing this project

README

        

= Cache data loss reproducer

Checkout the project. Build it.

----
mvn clean package
----

== Complete data loss

1. Start the initial member

----
java -Djava.net.preferIPv4Stack=true -cp target/cache-dataloss-1.0-SNAPSHOT.jar sample.InitialMember
----

2. Start two new members

----
java -Djava.net.preferIPv4Stack=true -cp target/cache-dataloss-1.0-SNAPSHOT.jar sample.NewMember
----

3. Stop the initial member (press `ENTER`)

4. Start the testing member

----
java -Djava.net.preferIPv4Stack=true -cp target/cache-dataloss-1.0-SNAPSHOT.jar sample.TestingMember
----

== Partial data loss

1. Start the initial member

----
java -Djava.net.preferIPv4Stack=true -cp target/cache-dataloss-1.0-SNAPSHOT.jar sample.InitialMember
----

2. Start two new members with status check

----
java -Djava.net.preferIPv4Stack=true -cp target/cache-dataloss-1.0-SNAPSHOT.jar sample.NewMemberWithStatusCheck
----

3. Stop the initial member (press `ENTER`)

4. Start the testing member

----
java -Djava.net.preferIPv4Stack=true -cp target/cache-dataloss-1.0-SNAPSHOT.jar sample.TestingMember
----