How many ways can what be written?
I'm interested to know why you believe that Russia intends to annex S.Ossetia and Abkhazia. This sounds like some Georgian conspiracy theory to me.
First allow me to differentiate the situation wrt SO & ABK. SO is the slice that Russia may absorb, however, ABK has now become part of the same complex wrt recognition.
IMV you can make a viable state out of ABK but not SO, thus the only path forward for SO is to join Russia. It cannot do so legally without being an independent state before joining, elst it be an annexation.
Which is why the Russian controlled leadership of SO is declaring left right and center that it will be joining Russia shortly (few years) after gaining independence. So what does Putin expect will happen?
And SO is a nice piece of strategic real estate for Russia. Georgia is imposssible to defend without SO. From SO Russia can cut Georgia in an afternoon via Gori. With SO in Georgian hands, the Georgians need only manage the Roki tunnel.
Lastly, the progress of events suggest the Russians are looking for permanency, freeze the situation how they want it; which is why they recognised SO - to prevent the situation to become politically fluid again. They seek permanent gains, which lead directly to absorbing SO.
ABK is different, but now slotted into the same equation wrt recognition as seen from an international perspective (as opposed to domestic).
So Russia counted on substantial support and went for it though it could lose face if it didn't materialise.
IMO, all Russia wants is to go about this without any serious consequences (international isolation). Recognition of Abkhazia and S.Ossetia by other states would help Russia from this aspect only. China and other major states with their own separatist problems are not going to condemn Russia's actions or publicly disagree with them but they aren't going to demonstrate their hypocrisy by cheering on Abkhazia and S.Ossetia. Russia already knew this from the beginning so their was no miscalculation.
I think Russia was surprised over the West's reaction, though.
Russia would have gotten away with it if it had followed Zarkozys plan. The West was in a disarray wrt how to respond. That Russia ignored it, decided Western reaction.
That is an apparent miscalculation.
The next thing is that not only entered Georgia proper, but stayed there; this gave sustainment and momentum to a solidifying Western stance.
Tactical error.
Russia went for the full grabs when recognising independence.
Russia could have won a political, prestige and military victory if the goals where only to kick Georgia out of SO and left the West in disarray.
But they went the full monty. Because they're interested in something else. And that project ran into a bit of trouble at the SCO summit. (No, China was never in, but the Stans?)