]> Sergey Matveev's repositories - public-inbox.git/commit
v2writable: detect and use previous partition count
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Tue, 6 Mar 2018 07:28:56 +0000 (07:28 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Tue, 6 Mar 2018 07:28:56 +0000 (07:28 +0000)
commitcab22861f2a22482b74d20c05afbd6108a4590cb
tree893cbc6655a0066878105e2b04c35fe5124ab57c
parentfe99e1e4900b5fbe8da4aef25bb0dd05eacb25a3
v2writable: detect and use previous partition count

We need to detect the number of partitions the repository was
created with to ensure Xapian DBs can work across different
machines (or even CPU affinity changes) without leaving messages
unaffected by search.
lib/PublicInbox/V2Writable.pm
t/v2writable.t