Skip to content

Instantly share code, notes, and snippets.

@lgs
Created June 4, 2012 23:01
Show Gist options
  • Select an option

  • Save lgs/2871366 to your computer and use it in GitHub Desktop.

Select an option

Save lgs/2871366 to your computer and use it in GitHub Desktop.
reindex
2012-06-04T22:32:48+00:00 heroku[run.2]: State changed from created to starting
2012-06-04T22:32:55+00:00 heroku[run.2]: Starting process with command `bundle exec rake environment tire:import CLASS=Category FORCE=true`
2012-06-04T22:32:55+00:00 heroku[run.2]: State changed from starting to up
2012-06-04T22:33:18+00:00 app[run.2]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/Rakefile:19)
2012-06-04T22:33:18+00:00 app[run.2]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/Rakefile:19)
2012-06-04T22:33:23+00:00 app[run.2]: ** [NewRelic][06/04/12 22:33:23 +0000 2622f9dc-01d5-479c-9440-b0af8db1355e (1)] INFO : Dispatcher: thin
2012-06-04T22:33:23+00:00 app[run.2]: ** [NewRelic][06/04/12 22:33:23 +0000 2622f9dc-01d5-479c-9440-b0af8db1355e (1)] INFO : Application: gitwatcher
2012-06-04T22:33:23+00:00 app[run.2]: ** [NewRelic][06/04/12 22:33:23 +0000 2622f9dc-01d5-479c-9440-b0af8db1355e (1)] INFO : New Relic Ruby Agent 3.3.3 Initialized: pid = 1
2012-06-04T22:33:30+00:00 app[run.2]: MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production.
2012-06-04T22:33:30+00:00 app[run.2]: MONGODB (1ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
2012-06-04T22:33:30+00:00 app[run.2]: MONGODB (1ms) heroku_app1707530['$cmd'].find({:getnonce=>1}).limit(-1)
2012-06-04T22:33:30+00:00 app[run.2]: MONGODB (12ms) heroku_app1707530['$cmd'].find({"authenticate"=>1, "user"=>"heroku_app11707530", "nonce"=>"2ec7796a7073", "key"=>"fe5e51299e5b44"}).limit(-1)
2012-06-04T22:33:30+00:00 app[run.2]: MONGODB (1ms) heroku_app1707530['$cmd'].find({:getnonce=>1}).limit(-1)
2012-06-04T22:33:30+00:00 app[run.2]: MONGODB (13ms) heroku_app1707530['$cmd'].find({"authenticate"=>1, "user"=>"heroku_app11707530", "nonce"=>"65043d6f8f42", "key"=>"d041d7121a10a9"}).limit(-1)
2012-06-04T22:33:30+00:00 app[run.2]: [IMPORT] Deleting index 'f-a-k-e-i-n-d-e-x'
2012-06-04T22:33:30+00:00 app[run.2]: # 2012-06-04 22:33:30:869 [DELETE] ("f-a-k-e-i-n-d-e-x")
2012-06-04T22:33:30+00:00 app[run.2]: #
2012-06-04T22:33:30+00:00 app[run.2]: curl -X DELETE http://index.bonsai.io/f-a-k-e-i-n-d-e-x
2012-06-04T22:33:30+00:00 app[run.2]:
2012-06-04T22:33:30+00:00 app[run.2]: # 2012-06-04 22:33:30:876 [401]
2012-06-04T22:33:30+00:00 app[run.2]:
2012-06-04T22:33:30+00:00 app[run.2]: # 2012-06-04 22:33:30:890 [HEAD] ("f-a-k-e-i-n-d-e-x")
2012-06-04T22:33:30+00:00 app[run.2]: #
2012-06-04T22:33:30+00:00 app[run.2]: curl -I "http://index.bonsai.io/f-a-k-e-i-n-d-e-x"
2012-06-04T22:33:30+00:00 app[run.2]:
2012-06-04T22:33:30+00:00 app[run.2]: # 2012-06-04 22:33:30:895 [200]
2012-06-04T22:33:30+00:00 app[run.2]:
2012-06-04T22:33:30+00:00 app[run.2]: [IMPORT] Starting import for the 'Category' class
2012-06-04T22:33:30+00:00 app[run.2]: MONGODB (1ms) heroku_app1707530['system.namespaces'].find({})
2012-06-04T22:33:30+00:00 app[run.2]: MONGODB (1ms) heroku_app1707530['$cmd'].find({"count"=>"categories", "query"=>{}, "fields"=>nil}).limit(-1)
2012-06-04T22:33:30+00:00 app[run.2]: --------------------------------------------------------------------------------
2012-06-04T22:33:30+00:00 app[run.2]: MONGODB (28ms) heroku_app1707530['categories'].find({}).limit(1000)
18/18 | 100% # 2012-06-04 22:33:31:185 [BULK] ("f-a-k-e-i-n-d-e-x")####################################
2012-06-04T22:33:31+00:00 app[run.2]: #
2012-06-04T22:33:31+00:00 app[run.2]: curl -X POST "http://index.bonsai.io/f-a-k-e-i-n-d-e-x/_bulk" -d '{... data omitted ...}'
2012-06-04T22:33:31+00:00 app[run.2]:
2012-06-04T22:33:31+00:00 app[run.2]: # 2012-06-04 22:33:31:185 [200]
2012-06-04T22:33:31+00:00 app[run.2]:
2012-06-04T22:33:31+00:00 app[run.2]: MONGODB (2ms) heroku_app1707530['categories'].find({}).skip(1000).limit(1000)
2012-06-04T22:33:31+00:00 app[run.2]:
2012-06-04T22:33:31+00:00 app[run.2]: ================================================================================
2012-06-04T22:33:31+00:00 app[run.2]: Import finished in 0.28295 seconds
2012-06-04T22:33:32+00:00 heroku[run.2]: Process exited with status 0
2012-06-04T22:33:32+00:00 heroku[run.2]: State changed from up to complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment