bq: Even I found this confusing. We should use either one right?
That's what I think, but I also tried a quick hack at it (well, not so quick it took several hours) and tests immediately started failing so of course I messed something up. So I think untangling all that is best put in another JIRA so we don't hold up this functionality for what is essentially cleanup.
About the STATUS command. I see what you mean, it just feels overly complex. I'd just go for the STATUS returning the clusterstate. Here's why:
1> whatever specifics we put in there are going to require that we maintain it. Take this example:
If I have several collections, I now have to define a syntax for what I return to associate the replicationFactor with Colleciton1, Collection2, etc. Would it be better just to give them the cluster state and let it go at that?
I think my driving question is whether there's a need to do this that we're responding to or just doing it because we can. If the latter, I'm neutral to - on it...