about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-10-27 07:54:18 +0000
committerEric Wong <e@80x24.org>2020-11-07 10:18:47 +0000
commite9d7314f0bf0d13206f60c676d5c2914fdfd1670 (patch)
tree5659b800bdc5e32f2a09c1c0be1de3ab9ac5fb0e
parent039e1492f773ad1664e3d8a8bac7d67b1de9392f (diff)
downloadpublic-inbox-e9d7314f0bf0d13206f60c676d5c2914fdfd1670.tar.gz
"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.
-rw-r--r--lib/PublicInbox/V2Writable.pm8
1 files changed, 4 insertions, 4 deletions
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);
         }
 }