I noticed after my upgrade from 2.5 to 3.0 that the order of backup operations for the db and indexes flipped in 3.0. For 2.5 the indexes were backed up first, and then the ESENT backup ran. Now in 3.0 it is ESENT/Voron first, then indexes. Was there a specific reason for this?
The theoretical issue I see is getting inconsistent data after a restore on the very rare chance that a write was committed and indexed between the time the db backup is completed and the index snapshot was taken.
For 2.5 the restore was safe: During restore of the indexes, they may be behind the last ETag committed in the restored database, but they can just index those missed documents and get to consistency.
Now in 3.0, It seems possible (however slim of a chance) that a restored index could include docs for ETags that never made it into the database backup. On restore you now have data in the index that is not in the database, and that would not be easy to clear short of resetting the index. Or is there another mechanism I'm missing to keep consistency between the two pieces of a 3.0 backup?