The total size of the files in the Local State is larger than the actual total size of the files. Incorrect Local State can cause synchronization progress to be unable to reach 100%.
Clicking on rescan still does not display the correct size.
You need to create a index-v0.14.0.db.needsrepair
file in the configuration directory and restart the service to display the actual size.
Although I don’t know why the Local State is incorrect, could you add a mechanism to detect that when the total file size in the Local State is greater than the actual size, it will trigger db repair