locked
What does "PerformPostRestoreFixUp" do? RRS feed

  • Question

  • If a database is restored for two new peers, after executing "PerformPostRestoreFixUp", why the two peers can sync well without any conflict.

    So what does "PerformPostRestoreFixUp" do actually?

    Thanks a lot,


    Get reply from social.microsoft

    Thursday, December 13, 2012 2:58 AM

Answers

  • it assigns a new Id without wiping out the sync knowledge. so it still knows the data that was previously sync.

    simply put, Peer A and B gets a new id and their sync knowledge thinks it has previously synched with C.

    • Marked as answer by Abby.Tang Thursday, December 13, 2012 7:51 AM
    Thursday, December 13, 2012 3:31 AM

All replies

  • each replica in a sync community has a unique identifier (a replica id). if you restore a backup of a database, it will result to two replicas having the same id.

    PerformPostRestoreFixup fixes the sync metadata to avoid this.

    Thursday, December 13, 2012 3:05 AM
  • Ok, If the peer A and peer B restore the same database (from peer C), so there are two new replica Id will be created for peer A and peer B, right?

    So peer C knows nothing about peer A and peer B, they are new replica, and peer A and peer B don't know each other

    So why the old data in the database (from peer C) won't be synced among peers again?

    Thanks a lot,

    Abby


    Get reply from social.microsoft

    Thursday, December 13, 2012 3:27 AM
  • it assigns a new Id without wiping out the sync knowledge. so it still knows the data that was previously sync.

    simply put, Peer A and B gets a new id and their sync knowledge thinks it has previously synched with C.

    • Marked as answer by Abby.Tang Thursday, December 13, 2012 7:51 AM
    Thursday, December 13, 2012 3:31 AM
  • If the peer A was in the sync community before, then peer A restores database from peer C, after executing "PerformPostRestoreFixUp", it will get a new replica Id or the old one assigned to peer A

    Thanks a lot,

    Abby


    Get reply from social.microsoft

    Thursday, December 13, 2012 5:34 AM
  • everytime you do a PerformPostRestoreFixup, it gets a new one. 
    Thursday, December 13, 2012 5:46 AM