lib/PublicInbox/V2Writable.pm | 8 ++++---- diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm index 6af50f5dd5b0ca9b9955224dbeff28dba32cac21..f8b7abe1c8aeac2574b53d92b4368db9bdaf2361 100644 --- a/lib/PublicInbox/V2Writable.pm +++ b/lib/PublicInbox/V2Writable.pm @@ -423,7 +423,7 @@ push @$need_reindex, $smsg; } else { # ->purge or ->remove $self->{mm}->num_delete($num); } - unindex_oid_remote($self, $oid, $mid); + unindex_oid_aux($self, $oid, $mid); } } @@ -631,7 +631,7 @@ $_->shard_commit for @$shards; } # last_commit is special, don't commit these until - # remote shards are done: + # Xapian shards are done: $dbh->begin_work; set_last_commits($self); $dbh->commit; @@ -1082,7 +1082,7 @@ return -1 if $sync->{reindex}; $regen_max + $self->{mm}->num_highwater() || 0; } -sub unindex_oid_remote ($$$) { +sub unindex_oid_aux ($$$) { my ($self, $oid, $mid) = @_; my @removed = $self->{oidx}->remove_oid($oid, $mid); for my $num (@removed) { @@ -1117,7 +1117,7 @@ $unindexed->{$mid0} = $num; } $mm->num_delete($num); } - unindex_oid_remote($self, $oid, $mid); + unindex_oid_aux($self, $oid, $mid); } }