If you look at the accumulation of tolerances in chamber dimensions and case length, (pistol cases) you might find it hard to believe that case length is a major player in head spacing. ie a case length at minimum length, in a max length chamber (Both within SAMMI specs) cannot head space on the case mouth. It could be argued that the extractor holding the case head against the breech face is the major player in head spacing. Check the chamber and case specs and draw your own conclusions.
And yes, Glocks can fire out of battery. It can be caused by a weak recoil spring, out of spec ammo, dirty chamber, and likely other factors. If you have a misfire and see an off center firing pin strike, it might be a good time to check out the above factors.
Haven't converted the 21 to 10mm, so can't speak to that.
Savage