How many years one gets out of a battery is not the most appropriate metric of battery service. Batteries have a given amount of energy they can store and deliver, based on their size and type, which is what you're paying for. They also have a finite calendar life, so if you don't use the energy capacity up before the clock runs out, any unused storage is a loss. In a perfect scenario you use the battery up before it expires, getting all you paid for. Practically speaking you can't always gauge your usage to hit that mark before they give up but generally speaking, use it or lose it. Or, better to burn out than fade away. So use 'em, charge 'em and decide when they give up whether you need to reevaluate the size and type for next time, or stick with a cost/capacity formula that works for you. What I would want to know is why a particular set failed - was it "hard use", or improper charging and storage? If it was the former, then they don't owe you anything but if it's the latter you need to resolve that or the next set will meet the same fate. It should be mentioned it takes a concerted effort to wear a battery out by using it. Far more prevalent in their demise is "trauma"- being improperly charged or stored.
All lead acid batteries should be kept at 100% charge any time they're not being used. The problem with RV's is that unless you disconnect them they may not stay at 100%, and over time this partial state of charge will diminish their capacity. With modern converters one can leave the RV plugged in full time but then there's always the possibility something will interrupt the power, the batteries discharge and sit dead for some indeterminate length of time, which also damages them. In my view, the best storage option is to leave the RV unplugged, disconnect the batteries and keep them charged with a maintainer.
Mark B.
Albuquerque, NM