I recently had a lot of issues with my legs, including symptoms that, if they became chronic, might have been labelled compartment syndrome.
I do have ongoing sciatica-type issues due to lower back issues, but these other issues were new to me.
Using some root-cause analysis techniques from my past, and doing a lot of research on the internet ( filtering out the more fringe elements) I came to suspect my arthritis medication. In consultation with my surgery, I have simply stopped taking the Arthritis medication ( NSAIDS).
SO FAR I think we may have cracked the issue. Upside, when riding hard I’m not getting the extreme leg issues; downside my arthritic shoulder hurts more when I’m not riding and therefore taking specific painkillers.
Lesson - read all of the huge paper that is packed with medication, and watch for side effects. Also, do your own research. My surgery employs a Pharmacist part time, and he has proved to be an excellent resource.