{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6832","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6832/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6832/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6832/events","html_url":"https://github.com/orientechnologies/orientdb/issues/6832","id":184036187,"number":6832,"title":"single node: Quorum (1) cannot be reached because it is major than available nodes (0)","user":{"login":"rdelangh","id":15123823,"avatar_url":"https://avatars.githubusercontent.com/u/15123823?v=3","gravatar_id":"","url":"https://api.github.com/users/rdelangh","html_url":"https://github.com/rdelangh","followers_url":"https://api.github.com/users/rdelangh/followers","following_url":"https://api.github.com/users/rdelangh/following{/other_user}","gists_url":"https://api.github.com/users/rdelangh/gists{/gist_id}","starred_url":"https://api.github.com/users/rdelangh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdelangh/subscriptions","organizations_url":"https://api.github.com/users/rdelangh/orgs","repos_url":"https://api.github.com/users/rdelangh/repos","events_url":"https://api.github.com/users/rdelangh/events{/privacy}","received_events_url":"https://api.github.com/users/rdelangh/received_events","type":"User","site_admin":false},"labels":[{"id":197557840,"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-19T18:16:26Z","updated_at":"2016-11-07T09:01:34Z","closed_at":null,"body":"## OrientDB Version, operating system, or hardware.\r\n- v2.2.13-20161027.133116-9\r\n## Operating System\r\n- [x] Linux\r\n## Expected behavior and actual behavior\r\n- started this single server in distributed mode (with \"dserver.sh\"), this is the only server active in its group\r\n- distributed-config.json : \r\n\r\n```\r\n{\"@type\":\"d\",\"@version\":0,\"autoDeploy\":true,\"readQuorum\":1,\"writeQuorum\":1,\r\n\"executionMode\":\"undefined\",\"readYourWrites\":true,\"servers\":{\"@type\":\"d\",\"@version\":0,\"*\":\"master\"},\r\n\"clusters\":\r\n{\"@type\":\"d\",\"@version\":0,\r\n\"internal\":{\"@type\":\"d\",\"@version\":0},\r\n\"cl_*_p0\":{\"@type\":\"d\",\"@version\":0,\"servers\":[\"orient1\",\"orient2\",\"orient4\"]},\r\n\"cl_*_p1\":{\"@type\":\"d\",\"@version\":0,\"servers\":[\"orient1\",\"orient2\",\"orient4\",\"orient5\"]},\r\n\"cl_*_p2\":{\"@type\":\"d\",\"@version\":0,\"servers\":[\"orient1\",\"orient4\",\"orient5\",\"orient3\"]},\r\n\"cl_*_p3\":{\"@type\":\"d\",\"@version\":0,\"servers\":[\"orient1\",\"orient5\",\"orient3\",\"orient6\"]},\r\n\"cl_*_p4\":{\"@type\":\"d\",\"@version\":0,\"servers\":[\"orient3\",\"orient6\",\"orient1\"]},\r\n\"cl_*_p5\":{\"@type\":\"d\",\"@version\":0,\"servers\":[\"orient6\",\"orient1\",\"orient2\"]},\r\n\"*\":{\"@type\":\"d\",\"@version\":0,\"servers\":[\"orient1\"]}\r\n},\"version\":1}\r\n```\r\n- from console, I get following status: \r\n\r\n```\r\norientdb {db=cdrarch}> HA STATUS -db -output=text\r\nExecuted '\r\nCLUSTER CONFIGURATION (LEGEND: X = Owner, o = Copy)\r\n+--------+----+-----------+----------+-------+-------------+-------------+-------------+-------------+-------------+\r\n|        |    |           |          |MASTER |   MASTER    |   MASTER    |   MASTER    |   MASTER    |   MASTER    |\r\n|        |    |           |          |ONLINE |NOT_AVAILABLE|NOT_AVAILABLE|NOT_AVAILABLE|NOT_AVAILABLE|NOT_AVAILABLE|\r\n+--------+----+-----------+----------+-------+-------------+-------------+-------------+-------------+-------------+\r\n|CLUSTER |  id|writeQuorum|readQuorum|orient1|   orient2   |   orient4   |   orient5   |   orient3   |   orient6   |\r\n+--------+----+-----------+----------+-------+-------------+-------------+-------------+-------------+-------------+\r\n|*       |    |     1     |    1     |   X   |             |             |             |             |             |\r\n|cl_*_p0 |    |     1     |    1     |   X   |      o      |      o      |             |             |             |\r\n|cl_*_p1 |    |     1     |    1     |   X   |      o      |      o      |      o      |             |             |\r\n|cl_*_p2 |    |     1     |    1     |   X   |             |      o      |      o      |      o      |             |\r\n|cl_*_p3 |    |     1     |    1     |   X   |             |             |      o      |      o      |      o      |\r\n|cl_*_p4 |    |     1     |    1     |   o   |             |             |             |      X      |      o      |\r\n|cl_*_p5 |    |     1     |    1     |   o   |      o      |             |             |             |      X      |\r\n|internal|   0|     1     |    1     |       |             |             |             |             |             |\r\n+--------+----+-----------+----------+-------+-------------+-------------+-------------+-------------+-------------+\r\n```\r\n- I created following clusters: \r\n\r\n```\r\ncl_cdr_af_20160626_p0, cl_cdr_af_20160626_p1, cl_cdr_af_20160626_p2, cl_cdr_af_20160626_p3, cl_cdr_af_20160626_p4, cl_cdr_af_20160626_p5\r\n```\r\n\r\n(these have got the following cluster-IDs : 586..591)\r\n- I created a class \"cdr_af_20160626\" with these clusters:\r\n\r\n```\r\nCREATE CLASS cdr_af_20160626 cluster 586,587,588,589,590,591\r\n```\r\n- when I request a description of this class, I get a normal answer:\r\n\r\n```\r\nDESC cdr_af_20160626\r\n... (clusters are listed as expected)\r\n```\r\n- in another \"console.sh\" session to this same database, I do the same:\r\n\r\n```\r\ndesc cdr_af_20160626\r\n! Class 'cdr_af_20160626' does not exist in the database 'cdrarch'\r\n```\r\n\r\n(hmm, strange ...)\r\n- from the first console, I start defining a bunch of properties for this class:\r\n\r\n```\r\nALTER CLASS cdr_af_20160626 STRICTMODE false\r\n...Error: com.orientechnologies.orient.server.distributed.ODistributedException: Quorum (1) cannot be reached because it is major than available nodes (0)'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/258780258","html_url":"https://github.com/orientechnologies/orientdb/issues/6832#issuecomment-258780258","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6832","id":258780258,"user":{"login":"rdelangh","id":15123823,"avatar_url":"https://avatars.githubusercontent.com/u/15123823?v=3","gravatar_id":"","url":"https://api.github.com/users/rdelangh","html_url":"https://github.com/rdelangh","followers_url":"https://api.github.com/users/rdelangh/followers","following_url":"https://api.github.com/users/rdelangh/following{/other_user}","gists_url":"https://api.github.com/users/rdelangh/gists{/gist_id}","starred_url":"https://api.github.com/users/rdelangh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdelangh/subscriptions","organizations_url":"https://api.github.com/users/rdelangh/orgs","repos_url":"https://api.github.com/users/rdelangh/repos","events_url":"https://api.github.com/users/rdelangh/events{/privacy}","received_events_url":"https://api.github.com/users/rdelangh/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T09:01:34Z","updated_at":"2016-11-07T09:01:34Z","body":"meanwhile, database cannot be opened anymore after running with 2.2.13* snapshots, see #6884\r\n\r\nWaiting for that issue to be resolved first ..."}}
{"actor":{"display_login":"rdelangh"}}