about summary refs log tree commit homepage
path: root/lib/PublicInbox/V2Writable.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-05 21:45:27 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-06 21:18:37 +0000
commit9d6468d9560b8cd26ba2529d7a09a93ec5ad8c00 (patch)
tree3397a3eec38a05faab1ea05b50baf71a65439504 /lib/PublicInbox/V2Writable.pm
parent42b780f1d728b702c01181d6adbee34c8f395788 (diff)
downloadpublic-inbox-9d6468d9560b8cd26ba2529d7a09a93ec5ad8c00.tar.gz
Some of this jankiness was from early performance problems
and they turned out to be unnecessary measures.
Diffstat (limited to 'lib/PublicInbox/V2Writable.pm')
-rw-r--r--lib/PublicInbox/V2Writable.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm
index b858dcc7..a8117aaa 100644
--- a/lib/PublicInbox/V2Writable.pm
+++ b/lib/PublicInbox/V2Writable.pm
@@ -397,7 +397,7 @@ sub checkpoint {
 # issue a write barrier to ensure all data is visible to other processes
 # and read-only ops.  Order of data importance is: git > SQLite > Xapian
 sub barrier {
-        my ($self, $fsync) = @_;
+        my ($self) = @_;
 
         if (my $im = $self->{im}) {
                 $im->barrier;
@@ -416,7 +416,6 @@ sub barrier {
                 $_->remote_barrier foreach @$parts;
 
                 $over->barrier_wait; # wait for each Xapian partition
-                $over->commit_fsync if $fsync;
 
                 # last_commit is special, don't commit these until
                 # remote partitions are done: