-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document reverts to original when deleted #1425
Comments
It seems like Device C doesn't get synced properly from the SGW. @sevenlogics Can you enable |
Heres the log from Device C when it first synced up with the Document 2016-09-01 09:21:56.632 iOSApp[5122:2171552] Sync: CBLRestPuller[http://SYNC_GATEWAY/DB]: postProgressChanged (0/1, active=0 (batch=0, net=0), lastSeq=141078, online=1, error=(null)) Here's log for Device C after the Doc was changed and deleted from Device A and B 2016-09-01 09:23:06.280 iOSApp[5122:2171552] Sync: CBLRestPusher[http://SYNC_GATEWAY/DB]: Reachability state = <ec2-52-205-43-6.compute-1.amazonaws.com>:reachable (02), suspended=0 |
Sorry for the late response. From the log above, it seems like device C got the deleted revision correctly:
Would this be a UI issue? Could you please double check, probably my manually get the document by ID from the database after the replication is done? |
I'm closing the issue now. We can reopen the issue when there is more information provided. Thanks. |
This is the scenario.
Device A, B and C are connected and linked to Sync gateway. All data is in Sync
Device A creates a new document called Doc-Rev1. Device B and C is opened and connected, both device see Doc-Rev1
We now close Device B and C. Leaving A on and online.
Using Device A, we change the document to Doc-Rev2.
Now we open Device B and let it talk to sync gateway. Device B gets Doc-Rev2. Device C is closed and is offline still.
Device A and Device B is both opened and talking to sync gateway still
Device A deletes the Doc. Device B is synced up and deletes the Doc too.
Now we open Device C. Doc-Rev1 remains on Device C
The text was updated successfully, but these errors were encountered: