"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: gotwebd crash
To:
Stefan Sperling <stsp@stsp.name>
Cc:
gameoftrees@openbsd.org
Date:
Sun, 26 Nov 2023 13:37:25 +0100

Download raw body.

Thread
On 2023/11/26 13:32:46 +0100, Stefan Sperling <stsp@stsp.name> wrote:
> Here is an alternative fix, with two improvements:
> 
> We can use the 'objects/pack' directory timestamp as a state flag.
> 
> We should retry the entire loop if pack files have changed. Otherwise
> we might end up trying to open up a pack file which has been deleted,
> or we might miss a new pack file which has been added.
> I've set an arbitrary limit on the number of retries to avoid endless
> looping caused by constant concurrent modifications.

ok op@