I'm slowly understanding how it's handling all this. After waiting about 5
minutes (maybe this failure timeout period is adjustable some where?),
OrientDB updates the cluster configuration with what seems to be a new
leader node, and then I can do INSERTs again. If I add to the class (ie.
.save("ChatMessages") ) - then all new INSERTs go into cluster #16.
HOWEVER, if I add a record from Studio, it must be adding directly to the
owner cluster of that node (ie. ChatMessages_db000, ChatMessages_db001),
because after adding from studio, I now also had a bunch of new records
such as shown below:#16:154 <http://127.0.0.1:2481/studio/index.html#/database/chat/browse/edit/16:154>1 ChatMessages <http://127.0.0.1:2481/studio/index.html#/database/chat/schema/editclass/ChatMessages>2015-06-08 14:53:01newTest Message 7localhost:2424#16:155 <http://127.0.0.1:2481/studio/index.html#/database/chat/browse/edit/16:155>1 ChatMessages <http://127.0.0.1:2481/studio/index.html#/database/chat/schema/editclass/ChatMessages>2015-06-08 14:53:01newTest Message 8localhost:2424#16:156 <http://127.0.0.1:2481/studio/index.html#/database/chat/browse/edit/16:156>1 ChatMessages <http://127.0.0.1:2481/studio/index.html#/database/chat/schema/editclass/ChatMessages>2015-06-08 14:53:01newTest Message 9localhost:2424#17:0 <http://127.0.0.1:2481/studio/index.html#/database/chat/browse/edit/17:0>1 ChatMessages <http://127.0.0.1:2481/studio/index.html#/database/chat/schema/editclass/ChatMessages> test#17:1 <http://127.0.0.1:2481/studio/index.html#/database/chat/browse/edit/17:1>1 ChatMessages <http://127.0.0.1:2481/studio/index.html#/database/chat/schema/editclass/ChatMessages> test#17:2 <http://127.0.0.1:2481/studio/index.html#/database/chat/browse/edit/17:2>1 ChatMessages <http://127.0.0.1:2481/studio/index.html#/database/chat/schema/editclass/ChatMessages> test#17:3 <http://127.0.0.1:2481/studio/index.html#/database/chat/browse/edit/17:3>1 ChatMessages <http://127.0.0.1:2481/studio/index.html#/database/chat/schema/editclass/ChatMessages> test#17:4 <http://127.0.0.1:2481/studio/index.html#/database/chat/browse/edit/17:4>1 ChatMessages <http://127.0.0.1:2481/studio/index.html#/database/chat/schema/editclass/ChatMessages> test#17:5 <http://127.0.0.1:2481/studio/index.html#/database/chat/browse/edit/17:5>1 ChatMessages <http://127.0.0.1:2481/studio/index.html#/database/chat/schema/editclass/ChatMessages> test -- --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
