forum@c:~/cs_comments_service$ rake search:rebuild
/edx/app/forum/cs_comments_service/lib/tasks/flags.rake:6: warning: already initialized constant ROOT
/edx/app/forum/cs_comments_service/lib/tasks/kpis.rake:7: warning: already initialized constant ROOT
W, [2017-01-09T04:21:07.666963 #24546] WARN -- : Overwriting existing field _id in class User.
I, [2017-01-09T04:21:07.675829 #24546] INFO -- : Creating new index: content_20170109042107...
I, [2017-01-09T04:21:07.787122 #24546] INFO -- : Applying index mappings for CommentThread
I, [2017-01-09T04:21:07.833666 #24546] INFO -- : Applying index mappings for Comment
I, [2017-01-09T04:21:07.848420 #24546] INFO -- : ...done!
I, [2017-01-09T04:21:07.851193 #24546] INFO -- : preparing to (re)build index
D, [2017-01-09T04:21:07.852430 #24546] DEBUG -- : MONGODB | Adding xx.xx.xx.xx:27017 to the cluster.
D, [2017-01-09T04:21:07.856389 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.getnonce | STARTED | {}
D, [2017-01-09T04:21:07.857681 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.getnonce | SUCCEEDED | 0.00074798s
D, [2017-01-09T04:21:07.858003 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.authenticate | STARTED | {}
D, [2017-01-09T04:21:07.859127 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.authenticate | SUCCEEDED | 0.000842973s
D, [2017-01-09T04:21:07.912745 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.count | STARTED | {"count"=>"contents", "query"=>{"_type"=>{"$in"=>["Comment", "CommentThread"]}, "updated_at"=>{"$lte"=>2017-01-09 04:21:07 UTC}}}
D, [2017-01-09T04:21:07.916484 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.count | SUCCEEDED | 0.003127465s
D, [2017-01-09T04:21:07.918459 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.count | STARTED | {"count"=>"contents", "query"=>{"_type"=>{"$in"=>["Comment", "CommentThread"]}, "updated_at"=>{"$lte"=>2017-01-09 04:21:07 UTC}}}
D, [2017-01-09T04:21:07.920659 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.count | SUCCEEDED | 0.0019071720000000002s
D, [2017-01-09T04:21:07.922103 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | STARTED | {"find"=>"contents", "filter"=>{"_type"=>{"$in"=>["Comment", "CommentThread"]}, "updated_at"=>{"$lte"=>2017-01-09 04:21:07 UTC}}, "skip"=>0, "limit"=>500}
D, [2017-01-09T04:21:07.963584 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | SUCCEEDED | 0.041098094s
I, [2017-01-09T04:21:07.976211 #24546] INFO -- : content_20170109042107: imported 0 of 280 (0.0% complete after 0.06 seconds)
D, [2017-01-09T04:21:07.978606 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | STARTED | {"find"=>"contents", "filter"=>{"_id"=>BSON::ObjectId('5771941e6fa57b9dee000003'), "_type"=>{"$in"=>["CommentThread"]}}}
D, [2017-01-09T04:21:07.979844 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | SUCCEEDED | 0.0009901159999999999s
D, [2017-01-09T04:21:07.984179 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | STARTED | {"find"=>"contents", "filter"=>{"_id"=>BSON::ObjectId('5771941e6fa57b9dee000003'), "_type"=>{"$in"=>["CommentThread"]}}}
D, [2017-01-09T04:21:07.985220 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | SUCCEEDED | 0.0007970890000000001s
D, [2017-01-09T04:21:07.986733 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | STARTED | {"find"=>"contents", "filter"=>{"_id"=>BSON::ObjectId('5771941e6fa57b9dee000003'), "_type"=>{"$in"=>["CommentThread"]}}}
D, [2017-01-09T04:21:07.987790 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | SUCCEEDED | 0.000801455s
D, [2017-01-09T04:21:07.989637 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | STARTED | {"find"=>"contents", "filter"=>{"_id"=>BSON::ObjectId('5771941e6fa57b9dee000003'), "_type"=>{"$in"=>["CommentThread"]}}}
D, [2017-01-09T04:21:07.990676 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | SUCCEEDED | 0.000781482s
D, [2017-01-09T04:21:07.994360 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | STARTED | {"find"=>"contents", "filter"=>{"_id"=>BSON::ObjectId('5771941e6fa57b9dee000003'), "_type"=>{"$in"=>["CommentThread"]}}}
D, [2017-01-09T04:21:07.995228 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | SUCCEEDED | 0.000639859s
D, [2017-01-09T04:21:07.996512 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | STARTED | {"find"=>"contents", "filter"=>{"_id"=>BSON::ObjectId('5771941e6fa57b9dee000003'), "_type"=>{"$in"=>["CommentThread"]}}}
D, [2017-01-09T04:21:07.997424 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | SUCCEEDED | 0.000684286s
D, [2017-01-09T04:21:07.999114 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | STARTED | {"find"=>"contents", "filter"=>{"_id"=>BSON::ObjectId('5771941e6fa57b9dee000003'), "_type"=>{"$in"=>["CommentThread"]}}}
<snip 987 DEBUG lines similar to the last two>
D, [2017-01-09T04:21:10.053846 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.count | SUCCEEDED | 0.003505191s
D, [2017-01-09T04:21:10.055157 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | STARTED | {"find"=>"contents", "filter"=>{"_type"=>{"$in"=>["Comment", "CommentThread"]}, "updated_at"=>{"$lte"=>2017-01-09 04:21:07 UTC}}, "skip"=>500, "limit"=>500}
D, [2017-01-09T04:21:10.057621 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | SUCCEEDED | 0.002178538s
I, [2017-01-09T04:21:10.057859 #24546] INFO -- : content_20170109042107: finished importing 280 documents
I, [2017-01-09T04:21:10.063743 #24546] INFO -- : alias already exists (will move): content_20170109042021
I, [2017-01-09T04:21:10.072781 #24546] INFO -- : alias "content" now points to index content_20170109042107.
I, [2017-01-09T04:21:10.072937 #24546] INFO -- : importing any documents that changed between 2017-01-09 04:21:07 UTC and now
D, [2017-01-09T04:21:10.074877 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.count | STARTED | {"count"=>"contents", "query"=>{"_type"=>{"$in"=>["Comment", "CommentThread"]}, "updated_at"=>{"$gte"=>2017-01-09 04:21:07 UTC}}}
D, [2017-01-09T04:21:10.077733 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.count | SUCCEEDED | 0.002418113s
D, [2017-01-09T04:21:10.079052 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.count | STARTED | {"count"=>"contents", "query"=>{"_type"=>{"$in"=>["Comment", "CommentThread"]}, "updated_at"=>{"$gte"=>2017-01-09 04:21:07 UTC}}}
D, [2017-01-09T04:21:10.081516 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.count | SUCCEEDED | 0.0021388329999999997s
D, [2017-01-09T04:21:10.082713 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | STARTED | {"find"=>"contents", "filter"=>{"_type"=>{"$in"=>["Comment", "CommentThread"]}, "updated_at"=>{"$gte"=>2017-01-09 04:21:07 UTC}}, "skip"=>0, "limit"=>500}
D, [2017-01-09T04:21:10.085106 #24546] DEBUG -- : MONGODB | xx.xx.xx.xx:27017 | c_opencraft_hosting_forum.find | SUCCEEDED | 0.002042407s
I, [2017-01-09T04:21:10.085363 #24546] INFO -- : content_20170109042107: finished importing 0 documents