* [9fans] replica/changes question and bug|my-own-mistake
@ 2002-05-23 18:00 Fco.J.Ballesteros
0 siblings, 0 replies; 3+ messages in thread
From: Fco.J.Ballesteros @ 2002-05-23 18:00 UTC (permalink / raw)
To: 9fans
I see that it calls updatedb with `-u glenga'; as a result the
entries generated for my changes are `glenda nemo' and not `nemo nemo'.
Is that `-u glenda' really needed?
Another issue is that for me, a replica/push after a a replica/pull
would make a mistake and delete from the server all the stuff I pulled.
I think the reason is that despite a disk/kfscmd allow, the time
is not updated on the pulled file (a directory actually).
For example:
replica/pull /replica/cfg/for/nemo/to/nemo1 doc
replica/changes /replica/cfg/for/nemo/to/nemo1 doc
reports as a change that `doc' has been deleted in the client.
I think that the problem is that the pulled file ends up like this:
d-rwxrwxr-x M 8 nemo nemo 0 May 23 19:28 /usr/nemo1/doc #now!
but the server version was:
d-rwxrwxr-x M 23 nemo nemo 0 May 8 11:05 /usr/nemo/doc
The entries on both the client and server databases are:
doc - 20000000775 nemo sys 1020848755 0
which I think correspond to the correct server's time for the file (May 8).
What's going on?
Any idea?
thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] replica/changes question and bug|my-own-mistake
@ 2002-05-23 18:19 Fco.J.Ballesteros
0 siblings, 0 replies; 3+ messages in thread
From: Fco.J.Ballesteros @ 2002-05-23 18:19 UTC (permalink / raw)
To: 9fans
> I'm very interested in finding what the problem is here,
> but I tried to reproduce it when you first reported it
> and cannot. Can you cull your setup down to a (small)
> script that demonstrates the problem? I don't really
> care whether the script is small, just as long as it's something
> self-contained so I can run it.
I'll try to and let you know.
thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] replica/changes question and bug|my-own-mistake
@ 2002-05-23 18:05 rsc
0 siblings, 0 replies; 3+ messages in thread
From: rsc @ 2002-05-23 18:05 UTC (permalink / raw)
To: 9fans
> I see that it calls updatedb with `-u glenga'; as a result the
> entries generated for my changes are `glenda nemo' and not `nemo nemo'.
> Is that `-u glenda' really needed?
That's a bug. I have no idea what I was thinking.
Probably I edited the wrong file at some point.
Take it out.
> Another issue is that for me, a replica/push after a a replica/pull
> would make a mistake and delete from the server all the stuff I pulled.
> I think the reason is that despite a disk/kfscmd allow, the time
> is not updated on the pulled file (a directory actually).
I'm very interested in finding what the problem is here,
but I tried to reproduce it when you first reported it
and cannot. Can you cull your setup down to a (small)
script that demonstrates the problem? I don't really
care whether the script is small, just as long as it's something
self-contained so I can run it.
The date stamps on directories are ignored.
Russ
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-23 18:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-23 18:00 [9fans] replica/changes question and bug|my-own-mistake Fco.J.Ballesteros
2002-05-23 18:05 rsc
2002-05-23 18:19 Fco.J.Ballesteros
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).