I’ve owned six G17 Gen 4s over the years and still have two of them. Two of the guns had over 50K rounds through them before I sold them, and 18K-25K through a couple other Gen 4 G17s. I can’t comment on rust issues, as I’ve never had an issue with rust on any GLOCK and I live in the south, where our summers are very humid, and carry IWB. Coincidently, I’ve been carrying my G27 Gen 4 for quite some time without rust issues. I wipe down my carry guns with a patch and some oil regularly when it‘s hot and humid and in the winter if I’m spending time in the cold and then coming into warm places indoors, as condensation can form on the gun.
The only major issue I had with a G17 Gen 4 was a fluke cracked frame rail on one gun and it was replaced under warranty. Aside from that, I had to replace a firing pin on one of my competition guns that had tens of thousands of rounds through it and probably even more dry fire presses, which I did daily. In addition to dry fire, I often did the one-shot drill as part of my routine practice, so the slide of the gun slammed forward on an empty chamber frequently.
Given the amount of rounds I put through G17 Gen 4s and the amount of abuse some of them went through, I was well pleased with how they performed.