buggy tracker behavior?
Drop Box
publicdropbox at gmail.com
Fri Feb 10 00:33:12 UTC 2006
Hi,
I'm testing out MogileFS and am getting some results from the tracker that I
didn't expect. I'm wondering whether it's a bug or a misunderstanding on my
part. I have a file saved to two devices on two different systems. I
unplugged one of the systems/devices (dev1 on .22) from the network and
noticed that the tracker will sometimes respond to GET_PATHS with 2 paths,
for some reason:
$ telnet localhost 7001
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
GET_PATHS domain=test&key=thisismykey
OK path2=http://192.168.0.22:7500/dev1/0/000/000/0000000054.fid&path1=http://192.168.0.23:7500/dev2/0/000/000/0000000054.fid&paths=2
GET_PATHS domain=test&key=thisismykey
OK path1= http://192.168.0.23:7500/dev2/0/000/000/0000000054.fid&paths=1
GET_PATHS domain=test&key=thisismykey
OK path2=http://192.168.0.22:7500/dev1/0/000/000/0000000054.fid&path1=http://192.168.0.23:7500/dev2/0/000/000/0000000054.fid&paths=2
GET_PATHS domain=test&key=thisismykey
OK path1= http://192.168.0.23:7500/dev2/0/000/000/0000000054.fid&paths=1
GET_PATHS domain=test&key=thisismykey
OK path2=http://192.168.0.22:7500/dev1/0/000/000/0000000054.fid&path1=http://192.168.0.23:7500/dev2/0/000/000/0000000054.fid&paths=2
GET_PATHS domain=test&key=thisismykey
OK path1= http://192.168.0.23:7500/dev2/0/000/000/0000000054.fid&paths=1
GET_PATHS domain=test&key=thisismykey
OK path1= http://192.168.0.23:7500/dev2/0/000/000/0000000054.fid&paths=1
GET_PATHS domain=test&key=thisismykey
OK path1=http://192.168.0.23:7500/dev2/0/000/000/0000000054.fid&paths=1
GET_PATHS domain=test&key=thisismykey
OK path2=http://192.168.0.22:7500/dev1/0/000/000/0000000054.fid&path1=http://192.168.0.23:7500/dev2/0/000/000/0000000054.fid&paths=2
I would have guessed that GET_PATHS would only return the 1 available path,
given that I'm not setting noverify. Whether or not that's how it's
supposed to work (could someone verify whether my guess is correct,
though?), my knee-jerk reaction to the sporadic behavior is to think there's
something wrong. Thoughts?
I'm using the latest revision from CVS, btw.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/mogilefs/attachments/20060209/5ea0a307/attachment.html
More information about the mogilefs
mailing list