From e9d7314f0bf0d13206f60c676d5c2914fdfd1670 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 27 Oct 2020 07:54:18 +0000 Subject: v2writable: rename remaining "remote" terminology "remote" used to imply "child process on the same machine" which was somewhat non-sensical, anyways. And OverIdx has been in the same process since v2 was finalized. So use the suffix "aux" for "auxiliary" since it can be safely jettisoned without breaking URLs. --- lib/PublicInbox/V2Writable.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm index 6af50f5d..f8b7abe1 100644 --- a/lib/PublicInbox/V2Writable.pm +++ b/lib/PublicInbox/V2Writable.pm @@ -423,7 +423,7 @@ sub rewrite_internal ($$;$$$) { } 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 @@ sub checkpoint ($;$) { } # 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 @@ sub sync_prepare ($$$) { $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 @@ sub unindex_oid ($$;$) { # git->cat_async callback } $mm->num_delete($num); } - unindex_oid_remote($self, $oid, $mid); + unindex_oid_aux($self, $oid, $mid); } } -- cgit v1.2.3-24-ge0c7