On Wed, Dec 12, 2012 at 5:03 PM, sausarkar <sausar...@ebay.com> wrote: > We still could replicate the issue in 4.1 branch i.e. queries going to one > server (numShards=1) is being distributed among all the servers which is > creating CPU spikes in all the servers in the cloud. Do you think this > behavior is as expected or will be fixed in the 4.1 release?
In 4.0 we defaulted to distrib=true for queries, so it's natural to see more than one log line per request, and to see log lines in 2 different servers for a single distributed request, even if there is only one shard (that's different from seeing a query going to *all* replicas). See the bottom of my previous message for an explanation. I just now merged back a bunch of changes from trunk to 4x, one of which was the short circuiting when a request goes to an active replica and that replica can satisfy the request without going distributed. -Yonik http://lucidworks.com