the shelves that ran along two walls from floor to ceiling- - 'that' with its relative clause refers to 'shelves'. -- The commas place the other verbs in parallel with 'stood'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.