none
Conflict resolution RetryWithForceWrite will raise LocalUpdateRemoteUpdate RRS feed

  • Question

  • I have small problem in such scenario :
    I have two DBs lets call them DB1 and DB2.
    1. Insert record into DB1
    2. Sync with BD2 (Direction Upload DB1->DB2). Record is in DB1 and DB2.
    3. I rise conflict - update record at DB1 and update record at DB2.
    4. Sync again. Conflict found (LocalUpdateRemoteUpdate). DB1 wins due to Action set to RetryWithForceWrite.
    5. And now I update record at DB1.
    6. Sync rise conflict LocalUpdateRemoteUpdate.

    I found that if I will manualy set <table>_tracking columns properly conflict will not be rised again.
    Those columns filled like after update record:
    update_scope_local_id
    scope_update_peer_key
    It looks like update made by conflict resolution is not noticed in _tracking.

    Same thing will show up if I rise LocalInsertRemoteInsert etc.
    Is there any way to fix this ?

    Thursday, June 7, 2012 4:23 PM