{"action":"created","issue":{"url":"https://api.github.com/repos/rwynn/monstache/issues/50","repository_url":"https://api.github.com/repos/rwynn/monstache","labels_url":"https://api.github.com/repos/rwynn/monstache/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/rwynn/monstache/issues/50/comments","events_url":"https://api.github.com/repos/rwynn/monstache/issues/50/events","html_url":"https://github.com/rwynn/monstache/issues/50","id":304097964,"number":50,"title":"Nothing is working anymore :(","user":{"login":"aguyinmontreal","id":19701656,"avatar_url":"https://avatars0.githubusercontent.com/u/19701656?v=4","gravatar_id":"","url":"https://api.github.com/users/aguyinmontreal","html_url":"https://github.com/aguyinmontreal","followers_url":"https://api.github.com/users/aguyinmontreal/followers","following_url":"https://api.github.com/users/aguyinmontreal/following{/other_user}","gists_url":"https://api.github.com/users/aguyinmontreal/gists{/gist_id}","starred_url":"https://api.github.com/users/aguyinmontreal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aguyinmontreal/subscriptions","organizations_url":"https://api.github.com/users/aguyinmontreal/orgs","repos_url":"https://api.github.com/users/aguyinmontreal/repos","events_url":"https://api.github.com/users/aguyinmontreal/events{/privacy}","received_events_url":"https://api.github.com/users/aguyinmontreal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-03-10T19:36:12Z","updated_at":"2018-03-10T22:47:50Z","closed_at":null,"author_association":"NONE","body":"Hello @rwynn !\r\n\r\nMonstache won't sync my MongoDB anymore! :(\r\n\r\nAs we discussed last time, here is my config.toml\r\n\r\n```\r\ngzip = true\r\nstats = true\r\nindex-stats = false\r\nfail-fast = true\r\nelasticsearch-retry = true\r\nnamespace-regex = '^profiles.(Profile|Blogs|$cmd)$'\r\n# dropped collections/databases won't work because of dynamic indexes\r\ndropped-databases = false\r\ndropped-collections = false\r\n[[script]]\r\nnamespace = \"profiles.Profile\"\r\nrouting = true\r\npath = '../scriptFor_profiles_Profile.js'\r\n[[script]]\r\nnamespace = \"profiles.Blogs\"\r\nrouting = true\r\npath = '../scriptFor_profiles_Blogs.js'\r\n```\r\n\r\nThe only way I can get my MongoDB to sync is by adding this line in the config.toml\r\n\r\n`direct-read-namespaces = [\"profiles.Profile\", \"profiles.Blogs\"]`\r\n\r\nHowever, as soon as the backup is done, it doesn't continue syncing.\r\n\r\nIf I start it without this line, nothing happens, the \"commited\" and \"index\" numbers stay at 0, and the \"flushed\" number keeps growing and growing....\r\n"},"comment":{"url":"https://api.github.com/repos/rwynn/monstache/issues/comments/372073437","html_url":"https://github.com/rwynn/monstache/issues/50#issuecomment-372073437","issue_url":"https://api.github.com/repos/rwynn/monstache/issues/50","id":372073437,"user":{"login":"aguyinmontreal","id":19701656,"avatar_url":"https://avatars0.githubusercontent.com/u/19701656?v=4","gravatar_id":"","url":"https://api.github.com/users/aguyinmontreal","html_url":"https://github.com/aguyinmontreal","followers_url":"https://api.github.com/users/aguyinmontreal/followers","following_url":"https://api.github.com/users/aguyinmontreal/following{/other_user}","gists_url":"https://api.github.com/users/aguyinmontreal/gists{/gist_id}","starred_url":"https://api.github.com/users/aguyinmontreal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aguyinmontreal/subscriptions","organizations_url":"https://api.github.com/users/aguyinmontreal/orgs","repos_url":"https://api.github.com/users/aguyinmontreal/repos","events_url":"https://api.github.com/users/aguyinmontreal/events{/privacy}","received_events_url":"https://api.github.com/users/aguyinmontreal/received_events","type":"User","site_admin":false},"created_at":"2018-03-10T22:47:50Z","updated_at":"2018-03-10T22:47:50Z","author_association":"NONE","body":"Ok I fixed my main issue!\r\n\r\nI still don't know what the issue was.  But I fixed it by mongodump and mongorestore my whole database.\r\n\r\nIf I run the `rs.printReplicationInfo()` on `mongo`, I see the following:\r\n\r\n```\r\nconfigured oplog size:   990MB\r\nlog length start to end: 1313secs (0.36hrs)\r\noplog first event time:  Tue Feb 13 2018 16:38:02 GMT-0500 (Est)\r\noplog last event time:   Tue Feb 13 2018 16:59:55 GMT-0500 (Est)\r\nnow:                     Sat Mar 10 2018 17:46:50 GMT-0500 (Est)\r\n```\r\n\r\nI don't think it is normal that the `oplog last event time` is `Feb 13`.\r\n"}}
{"actor":{"display_login":"aguyinmontreal"}}