From dd80811bdaddc40520cb37abda23624674022e37 Mon Sep 17 00:00:00 2001 From: "Eric Wong (Contractor, The Linux Foundation)" Date: Sat, 7 Apr 2018 03:41:50 +0000 Subject: v2writable: reduce barriers Since we handle the overview info synchronously, we only need barriers in tests, now. We will use asynchronous checkpoints to sync less-important Xapian data. For data deduplication, this requires us to hoist out the cat-blob support in ::Import for reading uncommitted data in git. --- t/v2writable.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/v2writable.t') diff --git a/t/v2writable.t b/t/v2writable.t index 4a42c016..b543c53f 100644 --- a/t/v2writable.t +++ b/t/v2writable.t @@ -213,8 +213,8 @@ EOF $im = PublicInbox::V2Writable->new($ibx, 1); is($im->{partitions}, 1, 'detected single partition from previous'); my $smsg = $im->remove($mime, 'test removal'); - my @after = $git0->qx(qw(log --pretty=oneline)); $im->done; + my @after = $git0->qx(qw(log --pretty=oneline)); my $tip = shift @after; like($tip, qr/\A[a-f0-9]+ test removal\n\z/s, 'commit message propagated to git'); -- cgit v1.2.3-24-ge0c7