We have an issue with merge replication, which manifests itself with publications taking extremely long time to finish their merge. We have narrowed it down to a very high value in maxversion_at_cleanup column in sysmergearticles (506267573 for one of the tables, as opposed to tens or hundreds). Threads get stuck on sp_MSuplineageversion and take very long to finish as they iterate through versions. Any idea how can we bring that value down to normal levels without reinitializing?
The publisher is 2008 R2, subscribers are a mix of versions.
Thanks!