[email protected] (Eric W. Biederman) writes: > Eric Wong <[email protected]> writes: > >> "Eric W. Biederman" <[email protected]> wrote: >>> >>> Because of the parallelism in V2 I have noticed messages in numbered >>> in an order that does not correspond to their commit order. So the >>> SQLite database isn't as recoverable as it might be. Especially as the >>> parallelism introduces an element of non-determinancy. >> >> *puzzled* were you able to reproduce that? The serial number >> generation + threading happens in the main process and the >> parallelism is limited to Xapian text indexing. -index >> generates serial numbers by walking backwards with v2, and >> complains on unexpected results.
Digging into this I have found consistenly non-reproducible numbering, because of deleted files. Apparently in both V1 and V2 an a worst-case estimate is made of the total numbers that are going to be needed and numbers are assigned backwards from there. A fresh indexing of the git mailling list archive on v1 gives me numbers starting with 360 and on v2 numbers starting with 355. Which corresponds with the number of deleted messages. I am still looking to see if there are any other weird things here. I definitely do not like not being able to reconstruct message numbers from a backup. Eric -- unsubscribe: [email protected] archive: https://public-inbox.org/meta/
