Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Is Merge Replication replicate uncommitted transaction. Expand / Collapse
Author
Message
Posted Friday, October 12, 2012 7:45 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, April 23, 2013 4:48 AM
Points: 282, Visits: 116
I am using Merge Replication between SQL Server 2005 and SQL Server 2000.
Isolation level is read_uncommitted.

I ran some script on Sql server 2000. and in between I got error on script before the Rollback tran.
But the table already affected with come rows.

In this situation, are the records used to replicate to the other server.
and after rollback , will it be deleted ????

If NO:

why I got the error:

"The merge process was unable to create a new generation at the 'Subscriber'" query time out.

and for some time I got the same error. And again it ran as usual.
I want to know the reason.....

SQL SERVER is auto committed. But is replication uploading the uncommitted transactions???

Please reply with some valid reason.

Thanks in advanced.


-EX:----------- I got error on step # 5 . up that Insert, Update happened to the Table. but rollback is on step #8.
-------
1.Begin Tran
2 .....
3.........Insert....
4...........Update....
5-
6------------
7
8.Rollback Transaction
9.-----
10.----
11.Commit
Post #1372133
Posted Tuesday, October 23, 2012 3:26 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, April 22, 2014 1:02 AM
Points: 227, Visits: 666
Generally, when I see the error "The merge process was unable to create a new generation at the 'Subscriber'", this is a result of blocking. I would suggest that your open transaction was blocking the replication process (as it would acquire locks on the table being updated and the msmerge... tables used to track changes) and that the uncommitted transaction would not be replicated.
Post #1375929
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse