I have found that an air horn works just as well, if not better, and you don’t end up eating a bunch of OC spray.Bought slightly used Trek Marlin on advice from a friend. Hope to go biking on a closed road that's about 20 miles long.
Also plan to buy fogger typed riot pepper spray and an Alien Gear chest rig. Dogs are a serious problem where I live.
Open carry is fine though and growing in popularity.