-# Copyright (C) 2018-2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2018-2021 all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
# Internal interface for a single Xapian shard in V2 inboxes.
my $pid = fork;
defined $pid or die "fork failed: $!\n";
if ($pid == 0) {
+ eval { PublicInbox::DS->Reset };
# these signals are localized in parent
$SIG{$_} = 'IGNORE' for (qw(TERM INT QUIT));
PublicInbox::Sigfd::sig_setmask($oldset);