Question on configuration of pool factory

80 views
Skip to first unread message

Alexander Sahler

unread,
Dec 3, 2014, 7:40:36 AM12/3/14
to orient-...@googlegroups.com
Hello everybody.

When configuring an OPartitionedDatabasePoolFactory instance, I can give only one seed node of the cluster.
What if that seed node is not available because it'*s down?

Wouldn't it be much more convenient, to give an array of seed nodes in case one of the nodes is currently down when I start the application?

Regards, Alexander

Andrey Lomakin

unread,
Dec 4, 2014, 4:34:15 AM12/4/14
to orient-database
Hi
Many users work with single server if you want to use pool with many URLs just use com.orientechnologies.orient.core.db.OPartitionedDatabasePoolFactory .


--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Best regards,
Andrey Lomakin.

Alexander Sahler

unread,
Dec 8, 2014, 9:03:42 AM12/8/14
to orient-...@googlegroups.com
I'm using exactly that OPartitionedDatabasePoolFactory (as described in the message). However, according to then manual, it takes only one argument with one server IP-address.

--

---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/v0kOpOmoJ94/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.

Andrey Lomakin

unread,
Dec 12, 2014, 3:57:32 PM12/12/14
to orient-database
Yes,
Because the rest of urls are fetched automatically by Java client from cluster during connection to cluster.
It is done in class which is called remote storage.
Reply all
Reply to author
Forward
0 new messages