My %10 sodium hydroxide left a clear mark inside the amber glass bottle. May be due to the color of the glass the micro etching more visible in my case.
Coming back to this as I happened to be messing with a glass bottle just now anyway.
Sometimes, it looks worse than it really is. Take this bottle that has held 75% potassium carbonate solution (Pyrocat HD concentrate B) for a few years:
Note that this doesn't clean out with rinsing, swirling with a piece of cotton/sponge, soap etc. It's easy to mistake this for actual damage to the glass.
After a few minutes' sitting around filled with a dilute citric acid solution, it looks like this:
I didn't bother cleaning it up further at this point; the few remaining traces would have cleared up just fine with some more soaking and swirling.
I did the same with a 10% sodium hydroxide bottle (also used among others for thiourea sepia toning) some time ago, but didn't take any pictures. The phenomenon and cleanup were identical though.
Which isn't to say that carbonate or lye cannot etch glass - just that caking of residue can sometimes look like the result of etching, especially since the caking can be very resilient.