"Eric W. Biederman" <[email protected]> wrote:
> --- a/lib/PublicInbox/Msgmap.pm
> +++ b/lib/PublicInbox/Msgmap.pm
> @@ -51,6 +51,10 @@ sub new_file {
>               $dbh->begin_work;
>               $self->created_at(time) unless $self->created_at;
>               $dbh->commit;
> +
> +             my (undef, $max) = $self->minmax();
> +             $max ||= 0;
> +             $self->num_highwater($max);

I think the calls to minmax and num_highwater should be in the
transaction right above it.  I can squash locally if that's the
only thing...

Everything else looks good, so far; thanks.


While testing this, it looks like I introduced a bug to
indexlevel=basic which broke incremental indexing when I made it
possible to upgrade to (medium|full).  Patch coming for that in
a bit...
--
unsubscribe: [email protected]
archive: https://public-inbox.org/meta/

Reply via email to