{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/kitsune/issues/3030","repository_url":"https://api.github.com/repos/mozilla/kitsune","labels_url":"https://api.github.com/repos/mozilla/kitsune/issues/3030/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/kitsune/issues/3030/comments","events_url":"https://api.github.com/repos/mozilla/kitsune/issues/3030/events","html_url":"https://github.com/mozilla/kitsune/issues/3030","id":292472409,"number":3030,"title":"Setup search indexing for hot-spare region","user":{"login":"pmac","id":19176817,"avatar_url":"https://avatars0.githubusercontent.com/u/19176817?v=4","gravatar_id":"","url":"https://api.github.com/users/pmac","html_url":"https://github.com/pmac","followers_url":"https://api.github.com/users/pmac/followers","following_url":"https://api.github.com/users/pmac/following{/other_user}","gists_url":"https://api.github.com/users/pmac/gists{/gist_id}","starred_url":"https://api.github.com/users/pmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmac/subscriptions","organizations_url":"https://api.github.com/users/pmac/orgs","repos_url":"https://api.github.com/users/pmac/repos","events_url":"https://api.github.com/users/pmac/events{/privacy}","received_events_url":"https://api.github.com/users/pmac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mozilla/kitsune/milestones/2","html_url":"https://github.com/mozilla/kitsune/milestone/2","labels_url":"https://api.github.com/repos/mozilla/kitsune/milestones/2/labels","id":2663829,"number":2,"title":"AWS Migration","description":"Things that must be done specifically for the migration.","creator":{"login":"pmac","id":19176817,"avatar_url":"https://avatars0.githubusercontent.com/u/19176817?v=4","gravatar_id":"","url":"https://api.github.com/users/pmac","html_url":"https://github.com/pmac","followers_url":"https://api.github.com/users/pmac/followers","following_url":"https://api.github.com/users/pmac/following{/other_user}","gists_url":"https://api.github.com/users/pmac/gists{/gist_id}","starred_url":"https://api.github.com/users/pmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmac/subscriptions","organizations_url":"https://api.github.com/users/pmac/orgs","repos_url":"https://api.github.com/users/pmac/repos","events_url":"https://api.github.com/users/pmac/events{/privacy}","received_events_url":"https://api.github.com/users/pmac/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2017-07-26T20:04:31Z","updated_at":"2018-01-29T16:37:35Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-01-29T16:29:51Z","updated_at":"2018-02-05T20:23:51Z","closed_at":null,"author_association":"MEMBER","body":"For our read-only spare region we won't be able to use the ORM model save signals to trigger indexing of new and modified questions and articles. We can reindex all of the articles nightly, but the questions are too numerous to do in that way. For now we'll just do an initial full indexing run, then set up a nightly job to freshen the index by reindexing all of the articles and all of the questions that have a modified date within the past two days. This should cover things if the nightly job fails one time.\r\n\r\nI'll be writing up another issue to cover how we'd like to set up search indexing in future to more reliably avoid these issues."},"comment":{"url":"https://api.github.com/repos/mozilla/kitsune/issues/comments/363209967","html_url":"https://github.com/mozilla/kitsune/issues/3030#issuecomment-363209967","issue_url":"https://api.github.com/repos/mozilla/kitsune/issues/3030","id":363209967,"user":{"login":"pmac","id":19176817,"avatar_url":"https://avatars0.githubusercontent.com/u/19176817?v=4","gravatar_id":"","url":"https://api.github.com/users/pmac","html_url":"https://github.com/pmac","followers_url":"https://api.github.com/users/pmac/followers","following_url":"https://api.github.com/users/pmac/following{/other_user}","gists_url":"https://api.github.com/users/pmac/gists{/gist_id}","starred_url":"https://api.github.com/users/pmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmac/subscriptions","organizations_url":"https://api.github.com/users/pmac/orgs","repos_url":"https://api.github.com/users/pmac/repos","events_url":"https://api.github.com/users/pmac/events{/privacy}","received_events_url":"https://api.github.com/users/pmac/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T20:23:51Z","updated_at":"2018-02-05T20:23:51Z","author_association":"MEMBER","body":"I also like your idea from #3013 that the \"master\" data center can just ping all of the ES instances. Do you think it'd be best to just go ahead with that plan and not do this, or should we do this for now and move to the multi-region-ping thing later?\r\n\r\nIn either case yes, I'm ready to take this on."}}
{"actor":{"display_login":"pmac"}}