Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Replication failure on XML variable on SQL Server 2012 SP3

$
0
0

Hello!

My ultimate question is, are there any known bugs having to do with replication on SQL Server 2012 SP3?

We recently ran into a replication error that seemed odd.  When I looked into sp_browsereplcmds to find the error, there seemed to be two commands that it was trying to run at once as the same command. They both were attempting to replicate an identical large (227 KB) XML variable stored in an nvarchar(max) row to the subscriber and it looked something like:

{CALL [dbo].[sp_MSupd_dboTableName] (,,,,,,N'<TheLargeXMLVariable>',,,,2016-02-04 22:12:59.453,{2080D901-8CC3-F511-B4CB-BD162D87DCE5},17914,0x4004)}
{CALL [dbo].[sp_MSupd_dboTableName] (,,,,,,N'<TheLargeXMLVariable>',,,,NULL,{005B005D-003C-003E-2B00-700072006A00},6239248,0x4004)}

These ended up being out of order and there was a NULL attempting to be updated into a column that did not allow nulls in either the subscriber or publisher DBs.

We had recently upgraded these DBs from SP1 CU9 to SP3. 


Viewing all articles
Browse latest Browse all 4054

Trending Articles