Carbon anodes can be oxidized from the oxygen produced. Especially in the presents of chloride, but also with sulfate. The carbon dioxide bubbles off just like the oxygen so it looks like only mechanical degrading.
I have tested this myself by bubbleing the gasess through a calcium hydroxide solution, and calcium carbonate percipitated within 20 minutes of running. The quantity was unknown, as the calcium carbonate could not be filtered and pH could not be tested as calcium hydroxide may still have been present.
Like Arkcon said, pencil graphite degrades slower, both chemically and mechanically, to my knowledge.