From 27658d2c8b8e51fa64f523c873587273f4f16c46 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 15 Jun 2019 08:25:44 +0000 Subject: comments: replace "partition" with "shard" Now that the code matches Xapian terminology, ensure our comments match, too. --- lib/PublicInbox/SearchIdx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/SearchIdx.pm') diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm index 58b23375..665f673a 100644 --- a/lib/PublicInbox/SearchIdx.pm +++ b/lib/PublicInbox/SearchIdx.pm @@ -797,7 +797,7 @@ sub remote_close { sub remote_remove { my ($self, $oid, $mid) = @_; if (my $w = $self->{w}) { - # triggers remove_by_oid in a partition + # triggers remove_by_oid in a shard print $w "D $oid $mid\n" or die "failed to write remove $!"; } else { $self->begin_txn_lazy; -- cgit v1.2.3-24-ge0c7