Clarify difference between opening/closing an index and a shard becoming active/inactive?

Got it. I think that mostly answers my question. Will keep browsing the
code. Cheers!