)]}'
{"ceilometer/alarm/storage/impl_mongodb.py":[{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"822b6a9f7c25b65d74b90120a1c76e15885f43aa","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        # requires a new storage connection."},{"line_number":48,"context_line":"        self.conn \u003d self.CONNECTION_POOL.connect(url)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"        # Require MongoDB 2.4 to use $setOnInsert"},{"line_number":51,"context_line":"        if self.conn.server_info()[\u0027versionArray\u0027] \u003c [2, 4]:"},{"line_number":52,"context_line":"            raise storage.StorageBadVersion(\"Need at least MongoDB 2.4\")"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_94b7d120","line":50,"updated":"2014-07-18 14:35:56.000000000","message":"So here\u0027s a curveball, we don\u0027t actually need $setOnInsert in the separated out alarm storage, as its only used on the resource collection.\n\nEasy fix: remove the comment and leave the version restriction in place.\n\nWacky idea: loosen the versioning requirement, if mongo is only used for alarm storage, while say sql-a is used for metering.\n\nProbably best to just ignore the Friday-afternoon wacky idea ;)","commit_id":"d4baab8a135b88ccb673b8e6dd35386786b52281"}],"ceilometer/alarm/storage/pymongo_base.py":[{"author":{"_account_id":10987,"name":"Igor Degtiarov","username":"tovstun","inactive":true},"change_message_id":"1cc752b6cf30e1d257eef9e6007cc0b0289a7031","unresolved":false,"context_lines":[{"line_number":133,"context_line":"                             administrative user, indicating all projects)"},{"line_number":134,"context_line":"        :param user: Optional ID of user to return changes for"},{"line_number":135,"context_line":"        :param project: Optional ID of project to return changes for"},{"line_number":136,"context_line":"        :project type: Optional change type"},{"line_number":137,"context_line":"        :param start_timestamp: Optional modified timestamp start range"},{"line_number":138,"context_line":"        :param start_timestamp_op: Optional timestamp start range operation"},{"line_number":139,"context_line":"        :param end_timestamp: Optional modified timestamp end range"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_4879242e","line":136,"updated":"2014-07-18 12:53:41.000000000","message":"It probably should be s/project/param","commit_id":"d4baab8a135b88ccb673b8e6dd35386786b52281"}]}
