And talk to a doctor. Sounds very much like it could be atrial fibrillation to me. Did you feel weaker at the high HR? I have two cycling friends with afib. Feeling weak may or may not happen. They both still ride just fine. If you drink coffee, quit and see if you still have the issue, or especially don't drink coffee before a ride.