)]}'
{"nova/db/mysqldb/api.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"93d1f00dd70cbf5c33218522354cc09d886a48ea","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"def dbapi_method(retry\u003dTrue, require_context\u003dTrue,"},{"line_number":59,"context_line":"                 require_admin_context\u003dFalse):"},{"line_number":60,"context_line":"    def wrapped(f):"},{"line_number":61,"context_line":"        @functools.wraps(f)"},{"line_number":62,"context_line":"        def inner(*args, **kwargs):"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_4c4360af","line":59,"updated":"2015-11-12 17:06:24.000000000","message":"We could drop the require_admin_context stuff since that\u0027s all gone now.","commit_id":"3907e7562a7badc5d85746ee9018c980dd182fad"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"93d1f00dd70cbf5c33218522354cc09d886a48ea","unresolved":false,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"    def __getattr__(self, key):"},{"line_number":119,"context_line":"        # forward unimplemented method to sqlalchemy backend:"},{"line_number":120,"context_line":"        LOG.warning(_LW(\"Falling back to SQLAlchemy for method %s\") % key)"},{"line_number":121,"context_line":"        return getattr(sqlalchemy_api, key)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"    @dbapi_method()"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_2c761c06","line":120,"updated":"2015-11-12 17:06:24.000000000","message":"I\u0027d probably make this TRACE level.","commit_id":"3907e7562a7badc5d85746ee9018c980dd182fad"}],"nova/db/mysqldb/connection.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"93d1f00dd70cbf5c33218522354cc09d886a48ea","unresolved":false,"context_lines":[{"line_number":23,"context_line":"import urlparse"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"import _mysql_exceptions"},{"line_number":26,"context_line":"import MySQLdb"},{"line_number":27,"context_line":"from MySQLdb.constants import CLIENT as mysql_client_constants"},{"line_number":28,"context_line":"from oslo_config import cfg"},{"line_number":29,"context_line":"from oslo_db import exception as db_exc"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_ac10cc59","line":26,"updated":"2015-11-12 17:06:24.000000000","message":"How hard would it be to use pymysql?  That\u0027s what oslo.db has been using since 1.12.0. It\u0027s python 3 compliant and is supposed to play nice with eventlet, which mysql-python doesn\u0027t do.","commit_id":"3907e7562a7badc5d85746ee9018c980dd182fad"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"93d1f00dd70cbf5c33218522354cc09d886a48ea","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"mysqldb_opts \u003d ["},{"line_number":40,"context_line":"    cfg.IntOpt(\u0027max_connections\u0027,"},{"line_number":41,"context_line":"               default\u003d20,"},{"line_number":42,"context_line":"               help\u003d\u0027maximum number of concurrent mysql connections\u0027),"},{"line_number":43,"context_line":"]"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_4f5cb218","line":41,"updated":"2015-11-12 17:06:24.000000000","message":"devstack defaults to 1024:\n\nhttps://github.com/openstack-dev/devstack/blob/master/lib/databases/mysql#L100","commit_id":"3907e7562a7badc5d85746ee9018c980dd182fad"}],"nova/db/mysqldb/sql.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"93d1f00dd70cbf5c33218522354cc09d886a48ea","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"mysqldb_opts \u003d ["},{"line_number":24,"context_line":"    cfg.BoolOpt(\u0027query_debug\u0027,"},{"line_number":25,"context_line":"                default\u003dFalse,"},{"line_number":26,"context_line":"                help\u003d\u0027Enable logging of queries for debugging.\u0027)"},{"line_number":27,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_af3f5e85","line":24,"updated":"2015-11-12 17:06:24.000000000","message":"I think we\u0027d want to use connection_trace from oslo.db:\n\nhttps://github.com/openstack/oslo.db/blob/master/oslo_db/options.py#L106","commit_id":"3907e7562a7badc5d85746ee9018c980dd182fad"}]}
