Hi,

Looking at the documentation [1][2], it seems that the
'preferredController' policy defaults to random.

However, looking at the code (driver.SequoiaUrl.java),
createConnectionPolicy() says that the default policy is roundRobin.

  // This is the default policy.
   if ((policy == null) || policy.equals("roundRobin"))
     return new RoundRobinConnectPolicy(controllerList, retryIntervalInMs,
         debugLevel);

Am I missing something here or should the documentation be updated?

Niraj


[1] http://sequoia.continuent.org/doc/latest/sequoia-install-guide.pdf (Page 35)
[2] http://sequoia.continuent.org/doc/latest/userGuide/sequoia-user-guide.pdf
(Page 12)

--
http://www.cs.cmu.edu/~ntolia

_______________________________________________
Sequoia mailing list
Sequoia@lists.forge.continuent.org
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to