Skip to content

Commit

Permalink
Adds PlusOneBackupSelector to RAMCloud
Browse files Browse the repository at this point in the history
This gives us deterministic selection for the backupServerId, independent of the replicationId.
We also add test_backup_server.py with Fault Tolerance tests for when a backup server goes down with PlusOneBackup enabled.
  • Loading branch information
OferMania committed Oct 3, 2019
1 parent b83b7e9 commit 9353ebb
Show file tree
Hide file tree
Showing 5 changed files with 940 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0

[program:ramcloud-server]
command=/usr/local/bin/rc-server --externalStorage %(ENV_RC_EXTERNAL_STORAGE)s --clusterName %(ENV_RC_CLUSTER_NAME)s --local basic+udp:host=%(ENV_RC_IP)s,port=11112 --replicas 1
command=/usr/local/bin/rc-server --externalStorage %(ENV_RC_EXTERNAL_STORAGE)s --clusterName %(ENV_RC_CLUSTER_NAME)s --local basic+udp:host=%(ENV_RC_IP)s,port=11112 --replicas 1 --usePlusOneBackup true
autorestart=false
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
Expand Down
Loading

0 comments on commit 9353ebb

Please sign in to comment.