- adapted rep_upd_sync changes from r2189 to the changes of r2185
- adapted rep_upd_sync changes from r2189 to the changes of r2185

git-svn-id: d89f83fc72fb49d2f5b112dfb73cea192610bdff@2191 71766da9-9752-0410-ab17-bfafa751c56a

fredrikelinder/scalaris,fredrikelinder/scalaris,fredrikelinder/scalaris,fredrikelinder/scalaris,fredrikelinder/scalaris,fredrikelinder/scalaris