{"action":"created","issue":{"url":"https://api.github.com/repos/blevesearch/bleve/issues/405","repository_url":"https://api.github.com/repos/blevesearch/bleve","labels_url":"https://api.github.com/repos/blevesearch/bleve/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/blevesearch/bleve/issues/405/comments","events_url":"https://api.github.com/repos/blevesearch/bleve/issues/405/events","html_url":"https://github.com/blevesearch/bleve/issues/405","id":169743494,"number":405,"title":"Bleve  readonly option doesn't work !!!","user":{"login":"testhmaa","id":19531930,"avatar_url":"https://avatars.githubusercontent.com/u/19531930?v=3","gravatar_id":"","url":"https://api.github.com/users/testhmaa","html_url":"https://github.com/testhmaa","followers_url":"https://api.github.com/users/testhmaa/followers","following_url":"https://api.github.com/users/testhmaa/following{/other_user}","gists_url":"https://api.github.com/users/testhmaa/gists{/gist_id}","starred_url":"https://api.github.com/users/testhmaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testhmaa/subscriptions","organizations_url":"https://api.github.com/users/testhmaa/orgs","repos_url":"https://api.github.com/users/testhmaa/repos","events_url":"https://api.github.com/users/testhmaa/events{/privacy}","received_events_url":"https://api.github.com/users/testhmaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-06T11:56:47Z","updated_at":"2016-08-06T12:20:10Z","closed_at":null,"body":"i was testing your  https://github.com/blevesearch/bleve-hosted\r\n\r\nsince the index is just being served read-only, 2 or more apps can share the index \r\nHowever, if i start 2 instances from the same directory, giving different port number, only 1 succeeds and other  instance hangs till the first one dies.\r\nAfter basic digging, found that the lock is somewhere in the core application/library\r\n\r\nactually behavior should be 2 or more instances should be able to serve same index ( of course for load-sharing or whatever).\r\n\r\nPlease tell me if my testing is wrong or something else that can be used to share same index between 2 or more instances in read-only mode"},"comment":{"url":"https://api.github.com/repos/blevesearch/bleve/issues/comments/238020770","html_url":"https://github.com/blevesearch/bleve/issues/405#issuecomment-238020770","issue_url":"https://api.github.com/repos/blevesearch/bleve/issues/405","id":238020770,"user":{"login":"mschoch","id":298143,"avatar_url":"https://avatars.githubusercontent.com/u/298143?v=3","gravatar_id":"","url":"https://api.github.com/users/mschoch","html_url":"https://github.com/mschoch","followers_url":"https://api.github.com/users/mschoch/followers","following_url":"https://api.github.com/users/mschoch/following{/other_user}","gists_url":"https://api.github.com/users/mschoch/gists{/gist_id}","starred_url":"https://api.github.com/users/mschoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschoch/subscriptions","organizations_url":"https://api.github.com/users/mschoch/orgs","repos_url":"https://api.github.com/users/mschoch/repos","events_url":"https://api.github.com/users/mschoch/events{/privacy}","received_events_url":"https://api.github.com/users/mschoch/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T12:20:10Z","updated_at":"2016-08-06T12:20:10Z","body":"I think not all the KV stores support the \"read_only\" option right now.  At the time bleve-hosted was built, I was only testing it with the goleveldb adapter.\r\n\r\nCan you confirm which KV store you're using?"}}
{"actor":{"display_login":"mschoch"}}