Details
-
Bug
-
Resolution: Fixed
-
Minor
-
6.5.0
-
Untriaged
-
No
Description
It would be very useful to display the number of partitions per node for a partitioned index. A lot of times, users get confused about how many partitions actually exist for an index and where are those hosted.
This information is already been returned from the /getIndexStatus REST API as detailed here:
https://issues.couchbase.com/browse/MB-29693?focusedCommentId=330833&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-330833
PartitionMap contains the details of which partitions are on which node. We only need to display the count per node.
Sample output for a partitioned index with 8 partitions residing on 2 index nodes:
"partitionMap":{"10.100.172.48:9000":[5,3,6,2],"127.0.0.1:9001":[1,7,4,8]},
|
Attachments
For Gerrit Dashboard: MB-34508 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
113077,3 | MB-34508: expose partitionMap property in GET /indexStatus | master | ns_server | Status: MERGED | +2 | +1 |
113078,3 | MB-34508: display number of index partitions | master | ns_server | Status: MERGED | +2 | +1 |