{"action":"created","issue":{"url":"https://api.github.com/repos/blevesearch/bleve/issues/118","labels_url":"https://api.github.com/repos/blevesearch/bleve/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/blevesearch/bleve/issues/118/comments","events_url":"https://api.github.com/repos/blevesearch/bleve/issues/118/events","html_url":"https://github.com/blevesearch/bleve/issues/118","id":49028646,"number":118,"title":"fix in memory implementation read isolation","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},"labels":[{"url":"https://api.github.com/repos/blevesearch/bleve/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-17T03:01:18Z","updated_at":"2015-01-09T19:44:22Z","closed_at":null,"body":"The KVReader returned by the KVStore.Reader() method is supposed to be isolated from write operations, however the in memory implementation does not honor this contract."},"comment":{"url":"https://api.github.com/repos/blevesearch/bleve/issues/comments/69387691","html_url":"https://github.com/blevesearch/bleve/issues/118#issuecomment-69387691","issue_url":"https://api.github.com/repos/blevesearch/bleve/issues/118","id":69387691,"user":{"login":"sacheendra","id":5353969,"avatar_url":"https://avatars.githubusercontent.com/u/5353969?v=3","gravatar_id":"","url":"https://api.github.com/users/sacheendra","html_url":"https://github.com/sacheendra","followers_url":"https://api.github.com/users/sacheendra/followers","following_url":"https://api.github.com/users/sacheendra/following{/other_user}","gists_url":"https://api.github.com/users/sacheendra/gists{/gist_id}","starred_url":"https://api.github.com/users/sacheendra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sacheendra/subscriptions","organizations_url":"https://api.github.com/users/sacheendra/orgs","repos_url":"https://api.github.com/users/sacheendra/repos","events_url":"https://api.github.com/users/sacheendra/events{/privacy}","received_events_url":"https://api.github.com/users/sacheendra/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T19:44:22Z","updated_at":"2015-01-09T19:44:22Z","body":"This test which checks for reader isolation passes for the in memory option. \r\nhttps://github.com/blevesearch/bleve/blob/master/index/store/inmem/store_test.go#L109\r\nI do not understand how isolation is implemented in the in memory store. \r\nI don't see any locking based or snapshot based isolation in both reader.go and store.go\r\nCan you explain how the isolation works?"}}