Initial support to resume aborted sync process.
This commit is contained in:
parent
5107cd8cd7
commit
3432ba57d6
15
osync.sh
15
osync.sh
|
@ -722,7 +722,6 @@ function Sync
|
|||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
;&
|
||||
update-slave-replica.success|update-master-replica.success|delete-propagation-slave.fail)
|
||||
delete_on_slave
|
||||
|
@ -742,20 +741,6 @@ function Sync
|
|||
echo "sync.success" > $STATE_DIR/last-action
|
||||
}
|
||||
|
||||
function DummySync
|
||||
{
|
||||
# launches foo bar cuu in this order
|
||||
|
||||
# get last function, if last was error set err=1
|
||||
|
||||
# if sync.success && err=1 boo bar cuu
|
||||
# set err=0
|
||||
# if sync.test && err=1 bar cuu
|
||||
# set err=0
|
||||
# if sync.e cuu
|
||||
echo merde
|
||||
}
|
||||
|
||||
function SoftDelete
|
||||
{
|
||||
if [ "$CONFLICT_BACKUP" != "no" ]
|
||||
|
|
Loading…
Reference in New Issue