{"action":"created","issue":{"url":"https://api.github.com/repos/thinkaurelius/titan/issues/1051","repository_url":"https://api.github.com/repos/thinkaurelius/titan","labels_url":"https://api.github.com/repos/thinkaurelius/titan/issues/1051/labels{/name}","comments_url":"https://api.github.com/repos/thinkaurelius/titan/issues/1051/comments","events_url":"https://api.github.com/repos/thinkaurelius/titan/issues/1051/events","html_url":"https://github.com/thinkaurelius/titan/issues/1051","id":71826432,"number":1051,"title":"Index gets stuck in installed state if a transaction is open","user":{"login":"BrynCooke","id":747836,"avatar_url":"https://avatars.githubusercontent.com/u/747836?v=3","gravatar_id":"","url":"https://api.github.com/users/BrynCooke","html_url":"https://github.com/BrynCooke","followers_url":"https://api.github.com/users/BrynCooke/followers","following_url":"https://api.github.com/users/BrynCooke/following{/other_user}","gists_url":"https://api.github.com/users/BrynCooke/gists{/gist_id}","starred_url":"https://api.github.com/users/BrynCooke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrynCooke/subscriptions","organizations_url":"https://api.github.com/users/BrynCooke/orgs","repos_url":"https://api.github.com/users/BrynCooke/repos","events_url":"https://api.github.com/users/BrynCooke/events{/privacy}","received_events_url":"https://api.github.com/users/BrynCooke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"BrynCooke","id":747836,"avatar_url":"https://avatars.githubusercontent.com/u/747836?v=3","gravatar_id":"","url":"https://api.github.com/users/BrynCooke","html_url":"https://github.com/BrynCooke","followers_url":"https://api.github.com/users/BrynCooke/followers","following_url":"https://api.github.com/users/BrynCooke/following{/other_user}","gists_url":"https://api.github.com/users/BrynCooke/gists{/gist_id}","starred_url":"https://api.github.com/users/BrynCooke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrynCooke/subscriptions","organizations_url":"https://api.github.com/users/BrynCooke/orgs","repos_url":"https://api.github.com/users/BrynCooke/repos","events_url":"https://api.github.com/users/BrynCooke/events{/privacy}","received_events_url":"https://api.github.com/users/BrynCooke/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/thinkaurelius/titan/milestones/20","html_url":"https://github.com/thinkaurelius/titan/milestones/Titan1.1","labels_url":"https://api.github.com/repos/thinkaurelius/titan/milestones/20/labels","id":945657,"number":20,"title":"Titan1.1","description":"","creator":{"login":"mbroecheler","id":758061,"avatar_url":"https://avatars.githubusercontent.com/u/758061?v=3","gravatar_id":"","url":"https://api.github.com/users/mbroecheler","html_url":"https://github.com/mbroecheler","followers_url":"https://api.github.com/users/mbroecheler/followers","following_url":"https://api.github.com/users/mbroecheler/following{/other_user}","gists_url":"https://api.github.com/users/mbroecheler/gists{/gist_id}","starred_url":"https://api.github.com/users/mbroecheler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbroecheler/subscriptions","organizations_url":"https://api.github.com/users/mbroecheler/orgs","repos_url":"https://api.github.com/users/mbroecheler/repos","events_url":"https://api.github.com/users/mbroecheler/events{/privacy}","received_events_url":"https://api.github.com/users/mbroecheler/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":12,"state":"open","created_at":"2015-01-21T18:04:27Z","updated_at":"2016-04-04T02:43:28Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-04-29T09:29:02Z","updated_at":"2016-06-09T00:54:03Z","closed_at":null,"body":"If the user has an open transaction then new index will never make it to installed state\r\n\r\n```\r\ng = TitanFactory.open('conf/titan-cassandra-embedded-es.properties')\r\nGraphOfTheGodsFactory.load(g)\r\ng.traversal().V().has('name', CONTAINS, 'hercules').order().by('age', decr).limit(10)\r\n\r\n//g.tx().rollback(); <--*** uncomment to make things work ***\r\n\r\nmgmt = g.openManagement()\r\nname = mgmt.getPropertyKey('name')\r\nage = mgmt.getPropertyKey('age')\r\nmgmt.buildIndex('nameAndAge', Vertex.class).addKey(name).addKey(age).buildMixedIndex(\"search\")\r\nmgmt.commit()\r\n//Wait for the index to become available\r\nmgmt.awaitGraphIndexStatus(g, 'nameAndAge').call() //Never happens\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thinkaurelius/titan/issues/comments/224774375","html_url":"https://github.com/thinkaurelius/titan/issues/1051#issuecomment-224774375","issue_url":"https://api.github.com/repos/thinkaurelius/titan/issues/1051","id":224774375,"user":{"login":"dpitera","id":13453236,"avatar_url":"https://avatars.githubusercontent.com/u/13453236?v=3","gravatar_id":"","url":"https://api.github.com/users/dpitera","html_url":"https://github.com/dpitera","followers_url":"https://api.github.com/users/dpitera/followers","following_url":"https://api.github.com/users/dpitera/following{/other_user}","gists_url":"https://api.github.com/users/dpitera/gists{/gist_id}","starred_url":"https://api.github.com/users/dpitera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpitera/subscriptions","organizations_url":"https://api.github.com/users/dpitera/orgs","repos_url":"https://api.github.com/users/dpitera/repos","events_url":"https://api.github.com/users/dpitera/events{/privacy}","received_events_url":"https://api.github.com/users/dpitera/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T00:54:03Z","updated_at":"2016-06-09T00:54:03Z","body":"Is this also true for reindexing indexes? Can I concurrently `reindex` a `registered` indexes, or will these indexes also get stuck in the `registered` state?"}}
{"actor":{"display_login":"dpitera"}}