about summary refs log tree commit homepage
path: root/lib/PublicInbox/V2Writable.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/V2Writable.pm')
-rw-r--r--lib/PublicInbox/V2Writable.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm
index fd9bf615..fbc71c89 100644
--- a/lib/PublicInbox/V2Writable.pm
+++ b/lib/PublicInbox/V2Writable.pm
@@ -263,13 +263,8 @@ sub checkpoint {
 sub barrier {
         my ($self) = @_;
 
-        # For safety, we ensure git checkpoint is complete before because
-        # the data in git is still more important than what is in Xapian.
-        # Performance may be gained by delaying ->progress call but we
-        # lose safety
         if (my $im = $self->{im}) {
-                $im->checkpoint;
-                $im->progress('checkpoint');
+                $im->barrier;
         }
         my $skel = $self->{skel};
         my $parts = $self->{idx_parts};