locked
Deleted records in reappear during sync RRS feed

  • Question

  • Hi,

    I have a server and multiple clients who sync with the server often. The problem I am having is:

    Client A and B download the server db locally.

    Client A deletes a record, syncs: server gets the changes (deletes).

    Client B still has this record locally. He updates the record and syncs to server: THE DELETED RECORD REAPPEARS in the server.

    I am using a custom sync provider and not sure what I am missing here! Any help would be appreciated!


    mvs
    Friday, May 21, 2010 2:26 PM

Answers

  • Hi,

    I assume that yourcustom provider is derviced from KnowledgeSyncProvider. Please check below points in your implementation:

    1. Make sure the same in client B is not changed after syncing it from Server

    2. When a change is sync from server to client, do you increase its update version with local timestamp even it is not a conflict? You should directly apply the incoming update version in this case.

    3. When syncing from client A to Server, check if the delete item is written in your metadata store with tombstone flag and new update version from Client A.

    Thanks,

    Dong


    This posting is provided AS IS with no warranties, and confers no rights.
    Friday, May 21, 2010 7:26 PM