Failing push finish may cause duplicate features #3642
Labels
bug
data corruption - sync failure - crash - anr
The most critical classification
sync
Integration with Mergin Maps backend
If there is a push from the mobile app, and the "push finish" request is sent, and client gets a networking issue (e.g. "Software caused connection abort") and server successfully finished the transaction, the mobile app's client gets into an bad state:
The solution could be to distinguish network errors from server errors - and in case of a network error, the client could retry "push finish" request - the server should return 404 if the transaction has been successful (and it's too early for the transaction to expire), or the server should successfully finish the transaction if it was still unfinished.
The text was updated successfully, but these errors were encountered: