Hi everyone, There is a pull request for a new API to fetch index status https://github.com/apache/couchdb/pull/6103.
Sometimes after replicating or adding a bunch of data it's hard to know if all the indexes have been built and the database is ready to serve traffic. Individual design document _info endpoints are a bit hard to figure out since each index does a different thing: map reduce views are grouped multiple per index and search and nouveau aren't; one type of index has pending changes and others doesn't; one has a set of preferred/min/max/total values, other indexes don't. The idea with the PR is to 1) have an and easy way of querying index status (somewhat similar how we have _dbs_info), 2) do it more efficiently and 3) give every index a uniform shape of pending updates (preferred/min/max/total), 4) making sure we actually wait for multiple shard copies to respond before returning the results (this fixes existing _index responses as well to they all look more uniform now), 5) make make the change backwards compatible and only add fields to objects instead of replacing or removing them. Anyway, take a look at the PR if you're interested. Please comment there, as there is already a good conversion going on and wouldn't want to split the discussion in two different forums. Thanks, -Nick
