If you perform queries during rebalance, this new feature will ensure that you receive the query results that you would expect from a node as if it is not being rebalanced. During node rebalance, you will get the same results you would get as if the data were on an original node and as if data were not being moved from one node to another. In other words, this new feature ensures you get query results from a new node during rebalance that are consistent with the query results you would have received from the node before rebalance started.
By default this functionality is enabled; although it is possible to disable this functionality via the REST API, under certain circumstances described below.
To disable this feature, provide a request similar to the following:
shell> curl -v -u Administrator:password -X POST http://10.4.2.4:8091/internalSettings \ -d indexAwareRebalanceDisabled=true
If successful Couchbase Server will send a response:
HTTP/1.1 200 OK Content-Type: application/json
For more information about views and how they function within a cluster, see Section 9.2, “View Operation”.