]> Sergey Matveev's repositories - public-inbox.git/commit
extindex: --gc: avoid SQLite lock conflict on shard cleanup
authorEric Wong <e@80x24.org>
Tue, 6 Jul 2021 12:42:03 +0000 (12:42 +0000)
committerEric Wong <e@80x24.org>
Tue, 6 Jul 2021 13:36:55 +0000 (13:36 +0000)
commit9a0d173ead1b44d6a8e9eac624852cd007ef9ac5
tree880ff4c12149f06587475f4594be03b370f1aa47
parent8ef622d408d2e4d98ad3aada8466f539c9ac61ba
extindex: --gc: avoid SQLite lock conflict on shard cleanup

Xapian shard cleanup only requires read-only access to
over.sqlite3, so avoid opening it with read-write access since
create_tables will hit lock conflicts on "INSERT OR IGNORE"
statements.
lib/PublicInbox/SearchIdxShard.pm