9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Replica/pull weirdness?
@ 2003-02-17  5:52 Dan Cross
  0 siblings, 0 replies; only message in thread
From: Dan Cross @ 2003-02-17  5:52 UTC (permalink / raw)
  To: 9fans

Imagine the following scenario:

If replica/pull runs, and the server connection dies for some weird
reason, it's possible that pull will try to remove the client log file
and error out and die.  If that's the case, the next time pull runs,
it'll try and remove the client log file again.  However, this time,
it won't be able to because the client log file won't exist.  The
must function will see rm fail and cause pull to fail.  The solution
will be for someone to touch the client log file and run pull again,
but it'll be pretty confusing initially.  Shouldn't the
``must rm $clientlog'' line in pull be ``must rm -f $clientlog''
instead?

	- Dan C.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-17  5:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-17  5:52 [9fans] Replica/pull weirdness? Dan Cross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).