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

sp_showpendingchanges returns wrong changes

$
0
0

Hi,

I've got a merge publication with SQL Compact 3.5 SP2 subscribers on Windows Mobile Pro 6.5.3 and SQL Server 2008 R2 SP3.

First I set @keep_partition_changes to false and @use_partition_groupsto true but due to multiple issues encountered (deletes not correctly propagated and more rows sent to the subscriber than expected), I set@keep_partition_changes to true and @use_partition_groups to false as mentioned in msdn documentation -> https://technet.microsoft.com/en-us/library/ms176103(v=sql.105).aspx?f=255&mspperror=-2147217396 and
especially

"With SQL Server Compact 3.5 SP2 subscribers,
keep_partition_changes must be set to true to ensure that deletes are correctly
propagated. When set to false, the subscriber might have more rows than
expected"

I note in this case thatsp_showpendingchanges always returns the totality of rows contained in published articles although
sent updates when synchronizing are corrects.

Example :

Rows returned par sp_showpendingchanges for a subscriber:

updates sent to the subscriber displayed in the replication monitor

Is this a bug or this behavior is normal and how can I get correct pending changes ?

Many thanks in advance.

Pascal


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>