|author||Eric Wong <email@example.com>||2020-03-28 00:56:03 +0000|
|committer||Eric Wong <firstname.lastname@example.org>||2020-03-29 23:28:28 +0000|
For sharded v2 repositories with few-enough messages, it is possible for shard to go unused and never trigger the ->commit_txn_lazy to set the indexlevel field in Xapian metadata. So set it immediately at initialization and avoid this case. While we're at it, avoid triggering needless pwrite syscalls from ->set_metadata by checking with ->get_metadata, first.
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions