summaryrefslogtreecommitdiff
path: root/saved-simulations
AgeCommit message (Collapse)Author
2026-03-27Narrow replay task visibility fixPaul Buetow
2026-03-27Extend raft replay with recover and later crashPaul Buetow
2026-03-27Extend Raft replay to 60 secondsPaul Buetow
2026-03-27sr: fix Raft replay leader electionPaul Buetow
2026-03-27sr: retune Raft replay for faster reelectionPaul Buetow
2025-06-22Remove all Raft protocol codePaul Buetow
Removed all Raft-related code as it was not working properly: - Removed VSRaftProtocol.java implementation - Removed all Raft test files - Removed Raft example/demo files - Removed Raft documentation - Removed Raft simulation files (.dat) - Removed Raft scripts - Updated VSRegisteredEvents to remove Raft registration - Updated SimulationBuilder to remove RAFT constant - Updated SimulationFactory to remove Raft methods - Updated SimulationBuilderTest to remove Raft tests - Updated pom.xml to remove Raft test configurations The protocol had issues with leader election not completing in GUI mode. 🤖 Generated with Claude Code https://claude.ai/code Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22Debug Raft protocol election issuesPaul Buetow
- Added message filtering for unicast messages (receiverNum check) - Added debug logging for election process - Fixed onServerSchedule to reschedule if election timeout not reached - Added logging for vote requests and responses The Raft protocol is sending messages but leader election is not completing. This appears to be a timing or message delivery issue that needs further investigation. 🤖 Generated with Claude Code https://claude.ai/code Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22Fix message delivery in headless test environmentPaul Buetow
- Fixed HeadlessSimulationEngine to use correct task manager from receiving process - Reduced message delays for testing (10-50ms instead of 500-2000ms) - Fixed process ID method call (getProcessID not getProcessId) - Improved message delivery scheduling to ensure tasks go to the right task manager This resolves message delivery issues where messages were sent but not received. BasicMulticast test now passes, but 12 protocol tests still failing. 🤖 Generated with Claude Code https://claude.ai/code Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-21Implement headless testing framework for DS-Sim protocol simulationsPaul Buetow
- Created HeadlessSimulationRunner that loads and runs simulations without GUI - Implemented LogCapture to intercept and store all simulation logs - Added ProtocolVerifier for flexible pattern-based log verification - Created test runners: standard, with logs, and clean (filters GUI errors) - Implemented tests for all non-Raft protocols - Added DummySimulatorFrame to satisfy GUI dependencies during loading - Created CleanHeadlessRunner that filters GUI-related errors from output - Updated run-tests.sh script with quiet mode option - Documented the framework architecture and usage The framework successfully runs protocol tests and verifies behavior through log analysis. GUI errors occur internally due to tight coupling in DS-Sim but are filtered in quiet mode for clean output. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2008-08-12new savesPaul Buetow
2008-08-10renamed things.Paul Buetow
2008-08-10renamedPaul Buetow
2008-08-07more writtenPaul Buetow
2008-07-25reliable multicast protoPaul Buetow
2008-07-25two phase commit Paul Buetow
2008-07-25okPaul Buetow
2008-07-25okPaul Buetow
2008-07-25berkeley protoPaul Buetow
2008-07-24okPaul Buetow
2008-07-23fooPaul Buetow
2008-06-25reliable multicast savedPaul Buetow
2008-06-12new savesPaul Buetow
2008-06-12added saved-simulations folder and a ping-pong example.Paul Buetow