)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"e0b7bd1aa2681843cbc0f43b30aac10254ad6061","unresolved":false,"context_lines":[{"line_number":11,"context_line":"But if we have too much data in resources collection we"},{"line_number":12,"context_line":"will get the error. So we need compound index in resource"},{"line_number":13,"context_line":"collection."},{"line_number":14,"context_line":"Sourses are droped because they are not used."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I9e02e6e61234b862ce4bf0b62fea72d8d061579e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba3cc151_4730ee56","line":14,"updated":"2015-06-29 13:43:06.000000000","message":"Sources","commit_id":"4af08cbc3af46bd0f6e27e788047075cb170edb7"},{"author":{"_account_id":6924,"name":"Pradeep Kilambi","email":"pkilambi@redhat.com","username":"pkilambi"},"change_message_id":"0fbec797735897bc2d8b4df7261549511fc3a9d3","unresolved":false,"context_lines":[{"line_number":12,"context_line":"will get the error. So we need compound index in resource"},{"line_number":13,"context_line":"collection."},{"line_number":14,"context_line":"Sourses are droped because they are not used."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I9e02e6e61234b862ce4bf0b62fea72d8d061579e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba3cc151_a789bacc","line":15,"updated":"2015-06-29 13:47:02.000000000","message":"s/doped/dropped/","commit_id":"4af08cbc3af46bd0f6e27e788047075cb170edb7"}],"ceilometer/storage/impl_mongodb.py":[{"author":{"_account_id":7729,"name":"Ilya Tyaptin","email":"ityaptin@mirantis.com","username":"ityaptin"},"change_message_id":"ab5337d88d0455a5c4f4328cf310ff06e4f3c226","unresolved":false,"context_lines":[{"line_number":465,"context_line":"                (\u0027timestamp\u0027, pymongo.ASCENDING),"},{"line_number":466,"context_line":"            ], name\u003dname, background\u003dbackground[primary])"},{"line_number":467,"context_line":""},{"line_number":468,"context_line":"        self.db.resource.create_index([(\u0027user_id\u0027, pymongo.DESCENDING),"},{"line_number":469,"context_line":"                                       (\u0027project_id\u0027, pymongo.DESCENDING),"},{"line_number":470,"context_line":"                                       (\u0027last_sample_timestamp\u0027,"},{"line_number":471,"context_line":"                                        pymongo.DESCENDING)],"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_99497ad3","line":468,"updated":"2015-06-29 14:03:21.000000000","message":"Please, add to this index upsert\u003dTrue option, because last_sample_timestamp is a optional value in resource collection. Also, it will be cool, if you check what happens with resources which don\u0027t have \"last_sample_timestamp\" with this index. Are they hided in resource-list output or not?","commit_id":"4a0f8bbb0f5ac49d0cac6096585de141389911ad"},{"author":{"_account_id":14347,"name":"Aleksey Ripinen","email":"aripinen@mirantis.com","username":"aripinen"},"change_message_id":"3c9905ff4fe647a6037ce647201d1d7d9cfb4125","unresolved":false,"context_lines":[{"line_number":465,"context_line":"                (\u0027timestamp\u0027, pymongo.ASCENDING),"},{"line_number":466,"context_line":"            ], name\u003dname, background\u003dbackground[primary])"},{"line_number":467,"context_line":""},{"line_number":468,"context_line":"        self.db.resource.create_index([(\u0027user_id\u0027, pymongo.DESCENDING),"},{"line_number":469,"context_line":"                                       (\u0027project_id\u0027, pymongo.DESCENDING),"},{"line_number":470,"context_line":"                                       (\u0027last_sample_timestamp\u0027,"},{"line_number":471,"context_line":"                                        pymongo.DESCENDING)],"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba3cc151_ff0f18df","line":468,"in_reply_to":"ba3cc151_99497ad3","updated":"2015-06-30 12:27:58.000000000","message":"I had tested this case. Resources without \"last_sample_timestamp\" are not hidden in resource-list output.","commit_id":"4a0f8bbb0f5ac49d0cac6096585de141389911ad"}]}
