Final partial-dl upload

This commit is contained in:
deajan 2014-11-26 11:25:58 +01:00
parent 6462f87457
commit 3bf66be267
3 changed files with 8 additions and 7 deletions

View File

@ -22,12 +22,12 @@ UNDER WORK
- sync test automation - sync test automation
- See if find command could use -delete instead of exec rm (must check compat for BSD and MacOS) - See if find command could use -delete instead of exec rm (must check compat for BSD and MacOS)
- Partial download is still experimental and needs more testing. Also, need to test if .osync_workdir_partial directory is excluded from file propagations - Partial download is still experimental and needs more testing.
RECENT CHANGES RECENT CHANGES
-------------- --------------
- Added a sequential run batch script - Added a sequential run batch script that can rerun failed batches
- Fixed an issue where a failed task never gets resumed after a successfull file replication phase - Fixed an issue where a failed task never gets resumed after a successfull file replication phase
- Added experimental partial downloads support for rsync so big files can be resumed on slow links - Added experimental partial downloads support for rsync so big files can be resumed on slow links
- Added the ability to keep partial downloads that can be resumed on next run (usefull for big files on slow links that reach max execution time) - Added the ability to keep partial downloads that can be resumed on next run (usefull for big files on slow links that reach max execution time)

View File

@ -3,8 +3,8 @@
PROGRAM="Osync" # Rsync based two way sync engine with fault tolerance PROGRAM="Osync" # Rsync based two way sync engine with fault tolerance
AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong" AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong"
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
PROGRAM_VERSION=0.99RC3+ PROGRAM_VERSION=0.99RC4
PROGRAM_BUILD=2411201403 PROGRAM_BUILD=2611201401
## type doesn't work on platforms other than linux (bash). If if doesn't work, always assume output is not a zero exitcode ## type doesn't work on platforms other than linux (bash). If if doesn't work, always assume output is not a zero exitcode
if ! type -p "$BASH" > /dev/null if ! type -p "$BASH" > /dev/null
@ -1803,6 +1803,7 @@ function Init
if [ "$PARTIAL" == "yes" ] if [ "$PARTIAL" == "yes" ]
then then
SYNC_OPTS=$SYNC_OPTS" --partial --partial-dir=\"$PARTIAL_DIR\"" SYNC_OPTS=$SYNC_OPTS" --partial --partial-dir=\"$PARTIAL_DIR\""
RSYNC_EXCLUDE="$RSYNC_EXCLUDE --exclude=\"$PARTIAL_DIR\""
fi fi
## Conflict options ## Conflict options

View File

@ -2,7 +2,7 @@
###### Osync - Rsync based two way sync engine with fault tolerance ###### Osync - Rsync based two way sync engine with fault tolerance
###### (L) 2013-2014 by Orsiris "Ozy" de Jong (www.netpower.fr) ###### (L) 2013-2014 by Orsiris "Ozy" de Jong (www.netpower.fr)
###### Config file rev 1306201401 ###### Config file rev 2411201401
## ---------- GENERAL OPTIONS ## ---------- GENERAL OPTIONS
@ -110,8 +110,8 @@ RESUME_TRY=2
## When a pidlock exists on slave replica that does not correspond to master's sync-id, force pidlock removal. Be carefull with this option if you have multiple masters. ## When a pidlock exists on slave replica that does not correspond to master's sync-id, force pidlock removal. Be carefull with this option if you have multiple masters.
FORCE_STRANGER_LOCK_RESUME=no FORCE_STRANGER_LOCK_RESUME=no
## Keep partial uploads that can be resumed on next run ## Keep partial uploads that can be resumed on next run, experimantal feature
PARTIAL=yes PARTIAL=no
## ---------- ALERT OPTIONS ## ---------- ALERT OPTIONS