Addendum, 17th July 2007: Fix
for SQL2005 merge precomputed bug
This bug is fixed in build 3177
(KB 938363, not available when this was originally published). Note that
you must run (the new for SP2) sp_vupgrade_mergeobjects to realise the
fix. This was a regression bug arising from a fix to another bug
relating to false conflicts that had been posted in the forums. It’s
good to know that bug reports in the forums are taken seriously, but
less so when the fix itself creates non convergence! Also worrying is
the fact that this partition change scenario was not already in the
product testing suite. I would have thought this would be a basic test.
As I understand it when a bug is fixed the product team have to add the
bug scenario to the testing suite to avoid having the same issue again.
One inherent problem highlighted
by this bug is that it only surfaced when a new publication was created
under SP2, upgrades from SP1 to SP2 would carry on unaffected.
What this could mean in
practise: you can upgrade from SP1 to SP2 and everything would run
perfectly. You could then script your publication, delete and recreate
the publication, and it would then exhibit this bug, even though you
might (very reasonably) expect that publications recreated in the same
service pack would exhibit the same behaviour, bug or otherwise. This is
a very undesirable behaviour, but it could be mitigated by using the new
stored procedure sp_vupgrade_mergeobjects
http://technet.microsoft.com/en-us/library/bb326615.aspx which is a
very useful tool. I strongly recommend you make a mental note of this
stored procedure, which dynamically recreates triggers, sp’s, views etc
using the latest code base installed without new snapshots, reinit etc,
so it is very useful for hotfixes like this, or when a replication
object has been deleted in error.