I would like to alleviate glock knuckle. My middle finger is sore after shooting the compact glocks.

My middle finger on my right hand is pretty beat up from an injury from years ago and it still hurts after shooting the glock for a while. The finger swells at the joint sometimes after long shooting sessions with a compact glock because its right against the trigger guard.