Warning: Server groups are unbalanced

Hi

Facing below warning, what can be checked or improved?

Warning: Server groups are unbalanced; this may result in uneven load distrubution.

Is there any more information about this warning message? Can only find this related https://review.couchbase.com/c/ns_server/+/164509

Please find screenshot attached

Thanks in advance.

PS: typo on distrubution? :wink:

Hi, thanks for answering. I don’t seem to find any reference on this warning in this page?


Please clarify?

Thanks again!

This is the error to message mapping done in in the UI:

https://github.com/couchbase/ns_server/blob/af4512f93d0f2768024ad7058753761b1a3d44b9/priv/public/ui/app/components/mn_filters.js#L72

And this is where it is raised:

https://github.com/couchbase/ns_server/blob/3036d890696ac235a343e28cc5aa930a9b0be9b0/src/ns_bucket.erl#L626

because the server groups do not all have an equal number of member nodes.

From the screenshots, group C has more nodes (5) than B (2) or A (3).

So the message is telling you that the different groups will handle load differently because of their size differences.

HTH.

1 Like