[RC5] Wheres the blocks?

Marc Sissom marcus at teleteam.net
Sun Jan 10 20:55:13 EST 1999


Robert A. Rosenberg wrote:
>
> This also keys into a BUG/DESIGN Flaw that I've found. When I stop
> the process, the current block gets returned to the IN Buffer marked
> x% done and when I start up it gets selected and resumes where I left
> off. If, OTOH, my Client crashes, there is no record that I was
> working on the block and when I restart, the block is no longer in
> the IN Buffer and the number of blocks is now reduced by 1. Thus the
> Block in Process at the Crash is LOST and must wait to be reassigned.

Since "lost block recycling" is already a feature of the
network, what you should do is get a reliable box.


> I think the client should log the block back to the IN Buffer in
> "Stopped" state with the % Done (just as it does when I REALLY shut
> down) every time it updates the Status Display. Thus ALL restarts
> after a crash will resume just as if there were a normal shutdown.

This is what checkpoint files are for. Frequent disk I/O hurts
throughput.

--
To unsubscribe, send 'unsubscribe rc5' to majordomo at lists.distributed.net
rc5-digest subscribers replace rc5 with rc5-digest



More information about the rc5 mailing list