gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz sync-remote-private.sh


From: Tuukka Hastrup
Subject: [Gzz-commits] gzz sync-remote-private.sh
Date: Tue, 01 Oct 2002 09:14:02 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuukka Hastrup <address@hidden> 02/10/01 09:14:02

Modified files:
        .              : sync-remote-private.sh 

Log message:
        MS-KILLFILE.* files in CVS list mediaserver blocks that are to be 
removed after every sync

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/sync-remote-private.sh.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: gzz/sync-remote-private.sh
diff -c gzz/sync-remote-private.sh:1.2 gzz/sync-remote-private.sh:1.3
*** gzz/sync-remote-private.sh:1.2      Fri Sep 27 12:06:32 2002
--- gzz/sync-remote-private.sh  Tue Oct  1 09:14:02 2002
***************
*** 30,35 ****
--- 30,42 ----
  echo "Success."
  rsync --rsh=ssh -rtvz address@hidden:$MSREMOTE/ $TMP/$MSREMOTE/
  
+ if [ -e "MS-KILLFILE.$MSREMOTE" ]; then
+     # Don't fetch killed blocks from remote pool
+     <"MS-KILLFILE.$MSREMOTE" xargs --replace rm -f $TMP/$MSREMOTE/{}
+     # Don't use killed blocks nor inject them back to remote pool
+     <"MS-KILLFILE.$MSREMOTE" xargs --replace rm -f $MS/{}
+ fi
+ 
  # XXX We need Synch when we start to have pointer conflicts
  # ${JAVA:-java} gzz.client.Synch -dir $MS -dir $TMP/$MSREMOTE
  # For now, simply update blocks to both directions




reply via email to

[Prev in Thread] Current Thread [Next in Thread]