Risk of forking account if post made while database indexing
Steps to reproduce the bug:
While manyverse is connected to any other peers and currently indexing, make any type of post (including a reaction/vote). This bug occurs if Manyverse crashes before indexing completes, which seems more likely on instances which have recently been restored from the recovery passphrase.
Expected behavior:
The newly created message should either not exist anywhere or exist in my database.
Actual behavior:
The message did not exist on the Manyverse instance which created it and was not downloaded upon connecting to other instances which had replicated it. It did exist on other Scuttlebutt clients and was downloaded when I deleted Manyverse and restored it using the passphrase.
Technical details
- Manyverse app version: 0.2206.3
- Device: iPhone X
- OS version: iOS 15.4.1