In merge replication how can i make the upload or the download to happen in one transaction, failure or success.

Unanswered In merge replication how can i make the upload or the download to happen in one transaction, failure or success.

  • Wednesday, August 29, 2012 4:04 AM
     
     
    In merge replication how can i make the upload or the download to happen in one transaction, failure or success ? so it will be possible to rollback all the changes if some error occurred during the process...

All Replies

  • Wednesday, August 29, 2012 4:45 AM
    Moderator
     
     

    I don't think there is a way to do this with Merge.  Some applications are able to tolerate this and some cannot.  With Merge I tend to rely on agent alerts, custom monitoring, and tuning to avoid unwanted scenarios for my applications.

    Are you encountering errors during processing?


    Brandon Williams (blog | linkedin)

  • Wednesday, August 29, 2012 6:20 AM
     
     

    Yes,It is not possible,but Every change during the transaction commit or rollback is stored in Metadata catalog of replication and replicated accordingly.

  • Wednesday, August 29, 2012 2:56 PM
     
     
    Yes, error may occur, so in this case i need the transaction to fail and every change to rollback
  • Wednesday, August 29, 2012 9:31 PM
     
     

    I don't think there is a way to do this with Merge.  Some applications are able to tolerate this and some cannot.  With Merge I tend to rely on agent alerts, custom monitoring, and tuning to avoid unwanted scenarios for my applications.

    Are you encountering errors during processing?


    Brandon Williams (blog | linkedin)


    There should be some way around, is there any other way to group the changes in one transaction and upload or download it ? I know logical records is doing something like this but it is going to be removed soon, so what is the alternative ? any idea ?
  • Thursday, August 30, 2012 4:47 AM
     
     
    If Your transaction will be rolled back all changes from subscriber side will also rollback(As per Replication theory).