{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4381","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4381/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4381/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4381/events","html_url":"https://github.com/orientechnologies/orientdb/issues/4381","id":89120968,"number":4381,"title":"Sometime running server with distributed configuration in 2.0.10/2.0.9 generate exception: java.lang.ClassCastException","user":{"login":"shlapkov","id":6439778,"avatar_url":"https://avatars.githubusercontent.com/u/6439778?v=3","gravatar_id":"","url":"https://api.github.com/users/shlapkov","html_url":"https://github.com/shlapkov","followers_url":"https://api.github.com/users/shlapkov/followers","following_url":"https://api.github.com/users/shlapkov/following{/other_user}","gists_url":"https://api.github.com/users/shlapkov/gists{/gist_id}","starred_url":"https://api.github.com/users/shlapkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlapkov/subscriptions","organizations_url":"https://api.github.com/users/shlapkov/orgs","repos_url":"https://api.github.com/users/shlapkov/repos","events_url":"https://api.github.com/users/shlapkov/events{/privacy}","received_events_url":"https://api.github.com/users/shlapkov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/bug","name":"bug","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/53","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.0.11","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/53/labels","id":1126609,"number":53,"title":"2.0.11","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":23,"state":"open","created_at":"2015-05-22T23:31:38Z","updated_at":"2015-06-17T21:46:09Z","due_on":"2015-06-18T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-06-17T20:41:56Z","updated_at":"2015-06-17T21:46:09Z","closed_at":"2015-06-17T21:46:09Z","body":"We are running our OrientDBCluster.java test but we have to change: NUM_WRITERS = 5; to NUM_WRITERS = 50; after this with Orient DB 2.0.10, 2.0.9 but not with 2.0.7 we are getting exception:\n\n```\n2015-06-17 15:36:10:820 SEVERE ******************************** [OrientDBCluster]\n2015-06-17 15:36:10:821 SEVERE ******************************** [OrientDBCluster]Create Iteration=4, id=plocal:D:/SVN/dev/tools/orientdb-cluster-test/servers/0/databases/platform.46-37665e24-10d2-437b-9410-2b5dd9f5ef60, com.orientechnologies.orient.core.exception.OTransactionException: Error on committing distributed transaction\ncom.orientechnologies.orient.core.exception.OTransactionException: Error on committing distributed transaction\n\tat com.orientechnologies.orient.server.distributed.ODistributedStorage.commit(ODistributedStorage.java:953)\n\tat com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:488)\n\tat com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:147)\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2427)\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2397)\n\tat test.OrientDBCluster$Writer.createRecord(OrientDBCluster.java:360)\n\tat test.OrientDBCluster$Writer.call(OrientDBCluster.java:205)\n\tat test.OrientDBCluster$Writer.call(OrientDBCluster.java:187)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat java.lang.Thread.run(Thread.java:745)\nCaused by: com.orientechnologies.orient.core.exception.OStorageException: Error during transaction commit.\n\tat com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:941)\n\tat com.orientechnologies.orient.server.distributed.ODistributedStorage.commit(ODistributedStorage.java:816)\n\tat com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:488)\n\tat com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:147)\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2427)\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2397)\n\tat com.orientechnologies.orient.server.distributed.task.OTxTask.execute(OTxTask.java:116)\n\tat com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.executeOnLocalNode(OHazelcastPlugin.java:761)\n\tat com.orientechnologies.orient.server.hazelcast.ODistributedWorker.onMessage(ODistributedWorker.java:300)\n\tat com.orientechnologies.orient.server.hazelcast.ODistributedWorker.run(ODistributedWorker.java:121)\nCaused by: java.lang.ClassCastException: com.orientechnologies.orient.server.distributed.ODistributedStorage cannot be cast to com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage\n\tat com.orientechnologies.orient.core.serialization.serializer.stream.OStreamSerializerSBTreeIndexRIDContainer.deserializeFromDirectMemoryObject(OStreamSerializerSBTreeIndexRIDContainer.java:258)\n\tat com.orientechnologies.orient.core.serialization.serializer.stream.OStreamSerializerSBTreeIndexRIDContainer.deserializeFromDirectMemoryObject(OStreamSerializerSBTreeIndexRIDContainer.java:40)\n\tat com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage.deserializeFromDirectMemory(ODurablePage.java:129)\n\tat com.orientechnologies.orient.core.index.sbtree.local.OSBTreeBucket.getEntry(OSBTreeBucket.java:215)\n\tat com.orientechnologies.orient.core.index.sbtree.local.OSBTree.get(OSBTree.java:203)\n\tat com.orientechnologies.orient.core.index.engine.OSBTreeIndexEngine.get(OSBTreeIndexEngine.java:225)\n\tat com.orientechnologies.orient.core.index.OIndexMultiValues.putInSnapshot(OIndexMultiValues.java:162)\n\tat com.orientechnologies.orient.core.index.OIndexAbstract.applyIndexTxEntry(OIndexAbstract.java:1039)\n\tat com.orientechnologies.orient.core.index.OIndexAbstract.addTxOperation(OIndexAbstract.java:686)\n\tat com.orientechnologies.orient.core.tx.OTransactionOptimistic$CommitIndexesCallback.run(OTransactionOptimistic.java:98)\n\tat com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:927)\n\t... 9 more\n\n2015-06-17 15:36:10:823 SEVERE ******************************** [OrientDBCluster]\n2015-06-17 15:36:10:857 SEVERE ******************************** [OrientDBCluster]Update Iteration=0, id=plocal:D:/SVN/dev/tools/orientdb-cluster-test/servers/0/databases/platform.18-124c4277-1532-4345-8198-fb338ef064b9, java.lang.IllegalStateException: Cannot find record with id=plocal:D:/SVN/dev/tools/orientdb-cluster-test/servers/0/databases/platform.18-124c4277-1532-4345-8198-fb338ef064b9\njava.lang.IllegalStateException: Cannot find record with id=plocal:D:/SVN/dev/tools/orientdb-cluster-test/servers/0/databases/platform.18-124c4277-1532-4345-8198-fb338ef064b9\n\tat test.OrientDBCluster$Writer.findById(OrientDBCluster.java:509)\n\tat test.OrientDBCluster$Writer.updateRecord(OrientDBCluster.java:261)\n\tat test.OrientDBCluster$Writer.call(OrientDBCluster.java:210)\n\tat test.OrientDBCluster$Writer.call(OrientDBCluster.java:187)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat java.lang.Thread.run(Thread.java:745) \n```"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/112960507","html_url":"https://github.com/orientechnologies/orientdb/issues/4381#issuecomment-112960507","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4381","id":112960507,"user":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T21:46:09Z","updated_at":"2015-06-17T21:46:09Z","body":"Yes, we will release 2.0.11 tomorrow."}}