Adding simple cache wrapper around index sets list in MongoIndexSetRegistry. #3440
Motivation and Context
Before this change, every flush of the batched ES output results in MongoDB hits twice, because of status checks for all writable targets of all index sets.
This change adds a simple single-element cache in the
Types of changes