Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsegismont/cachedataloss
https://github.com/tsegismont/cachedataloss
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tsegismont/cachedataloss
- Owner: tsegismont
- Created: 2018-03-01T11:37:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-01T11:37:42.000Z (almost 7 years ago)
- Last Synced: 2024-11-01T04:26:51.911Z (about 2 months ago)
- Language: Java
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
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
----