diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-04-07 03:41:49 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-04-07 03:42:26 +0000 |
commit | 06cd576bb9b73eb177728fead06de8c3fac8d7a3 (patch) | |
tree | 87433009229de29532053f25b9a7fd4a35314321 /lib/PublicInbox/Import.pm | |
parent | 59b5b84b8843d54024b5bb182f02b9b487a1ed29 (diff) | |
download | public-inbox-06cd576bb9b73eb177728fead06de8c3fac8d7a3.tar.gz |
Since the overview stuff is a synchronization point anyways, move it into the main V2Writable process and allow us to drop a bunch of code. This is another step towards making Xapian optional for v2. In other words, the fan-out point is moved and the Xapian partitions no longer need to synchronize against each other: Before: /-------->\ /---------->\ v2writable -->+----parts----> over \---------->/ \-------->/ After: /----------> /-----------> v2writable --> over-->+----parts---> \-----------> \----------> Since the overview/threading logic needs to run on the same core that feeds git-fast-import, it's slower for small repos but is not noticeable in large imports where I/O wait in the partitions dominates.
Diffstat (limited to 'lib/PublicInbox/Import.pm')
0 files changed, 0 insertions, 0 deletions