I think that Russia should not be wasting its time with some primitive mountain peoples. They have other issues to deal with in Russia itself (like spending tax money on underdeveloped non-Slavic/European populated regions in Siberia and Far East). Russia is like too little butter spread over too much bread. It should focus on old regions of Novgorod and ancient Kievan Rus, true Russia.
But anyway, regarding this war, it's obvious Georgia started it. Russia did right thing by stepping in, but two bad things: 1) They were too heavy handed against Georgian civilians – there is no need for this and 2) They have basically assimilated two more wild mountain peoples into Russia by giving them passports and getting too involved in their affairs. Russia should isolate itself from Caucasus.