A tank at the coast is attacked from two directions: water from the inside, salt air from the outside.
Inside
The anode is sacrificed so the steel is not. Its remaining thickness is the protection left, and a fresh rod restores it where the shell is sound. On aggressive water the rod goes early, so its condition is checked rather than assumed by age.
Outside
The jacket, the top fittings and the flue collar corrode in salt air. Surface rust is cosmetic until it pits through; rust weeping at a seam is the beginning of the end.
Valves and pressure
A relief valve that lifts is reporting a closed system with nowhere to put expansion, or a thermostat running hot. An expansion tank and a thermostat check address the cause.
The fittings
Top connections and dielectric unions corrode first and track water down the shell, which reads as a tank leak. Distinguishing the two is most of the diagnosis.
The decision
One failed part on a sound tank is repair work. A pitted jacket, a weeping seam and a spent anode together are a replacement.