Eric Wong <e...@80x24.org> wrote: > Konstantin Ryabitsev <konstan...@linuxfoundation.org> wrote: > > Eric: > > > > I noticed today that the LKML shard 6 has grown over 1.1 GB, which is the > > size of other shards (0-5). I'm wondering if it will roll over to shard 7 > > automatically, or if there are other steps that need to be undertaken. > > It only counts bytes in *.pack files; so you might need to repack > (or wait for gc to run via --auto).
Btw, have you checked this? I've been wondering if 7 will show up, too. > You can monitor the rollover via stderr with the following to be > sure: > > diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm > index 1f17fe2..0fd8c60 100644 > --- a/lib/PublicInbox/V2Writable.pm > +++ b/lib/PublicInbox/V2Writable.pm > @@ -588,6 +588,9 @@ sub importer { > if (defined $latest) { > my $git = PublicInbox::Git->new($latest); > my $packed_bytes = $git->packed_bytes; > + > + print STDERR "packed_bytes=$packed_bytes ", > + "rotate_bytes=$self->{rotate_bytes}\n"; > if ($packed_bytes >= $self->{rotate_bytes}) { > $epoch = $max + 1; > } else { -- unsubscribe: meta+unsubscr...@public-inbox.org archive: https://public-inbox.org/meta/