{"action":"opened","issue":{"url":"https://api.github.com/repos/blevesearch/bleve/issues/312","labels_url":"https://api.github.com/repos/blevesearch/bleve/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/blevesearch/bleve/issues/312/comments","events_url":"https://api.github.com/repos/blevesearch/bleve/issues/312/events","html_url":"https://github.com/blevesearch/bleve/issues/312","id":125341769,"number":312,"title":"firestorm newFirestormReader() snapshotting operations reversed","user":{"login":"steveyen","id":30640,"avatar_url":"https://avatars.githubusercontent.com/u/30640?v=3","gravatar_id":"","url":"https://api.github.com/users/steveyen","html_url":"https://github.com/steveyen","followers_url":"https://api.github.com/users/steveyen/followers","following_url":"https://api.github.com/users/steveyen/following{/other_user}","gists_url":"https://api.github.com/users/steveyen/gists{/gist_id}","starred_url":"https://api.github.com/users/steveyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveyen/subscriptions","organizations_url":"https://api.github.com/users/steveyen/orgs","repos_url":"https://api.github.com/users/steveyen/repos","events_url":"https://api.github.com/users/steveyen/events{/privacy}","received_events_url":"https://api.github.com/users/steveyen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-07T07:32:05Z","updated_at":"2016-01-07T07:32:05Z","closed_at":null,"body":"Some notes from discussion with @mschoch...\r\n\r\nfirestorm's newFirestormReader() (in reader.go) should reverse the order of operations in...\r\n\r\n- A) grabbing a store.Reader()\r\n- B) snapshotting the compensator  \r\n\r\nSo, it should be B and then A.\r\n\r\nRelated, the firestorm garbage collector should not delete rows needed by a reader, in-between steps B+A and possibly even after steps B+A, as long as the reader is open.  This later issue needs more thought."}}