)]}'
{"networking_ovn/common/ovn_client.py":[{"author":{"_account_id":23804,"name":"Daniel Alvarez","email":"dalvarez@redhat.com","username":"dalvarez"},"change_message_id":"fc94cb22cf13d4a700fe3a110f7cafc2431464f2","unresolved":false,"context_lines":[{"line_number":84,"context_line":"    def _transaction(self, commands, txn\u003dNone):"},{"line_number":85,"context_line":"        \"\"\"Create a new transaction or add the commands to an existing one.\"\"\""},{"line_number":86,"context_line":"        if txn is None:"},{"line_number":87,"context_line":"            with self._nb_idl.create_transaction(check_error\u003dTrue) as new_txn:"},{"line_number":88,"context_line":"                for cmd in commands:"},{"line_number":89,"context_line":"                    new_txn.add(cmd)"},{"line_number":90,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_5672cf7c","line":87,"range":{"start_line":87,"start_character":30,"end_line":87,"end_character":48},"updated":"2019-01-30 10:25:44.000000000","message":"Maybe a comment here indicating that transactions are not nested by default so if we call _transaction inside an already opened txn, it will be different ones","commit_id":"3a1d669d210546161b876de4d01485cf502af953"}],"networking_ovn/ovsdb/impl_idl_ovn.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"c08acdb83edfb441968dda6ef0583cd9b582ae6a","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    @contextlib.contextmanager"},{"line_number":165,"context_line":"    def transaction(self, *args, **kwargs):"},{"line_number":166,"context_line":"        \"\"\"A wrapper on the ovsdbapp transaction to work with revisions."},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"        This method is just a wrapper around the ovsdbapp transaction"},{"line_number":169,"context_line":"        to handle revision conflicts correctly."},{"line_number":170,"context_line":"        \"\"\""},{"line_number":171,"context_line":"        try:"},{"line_number":172,"context_line":"            # NOTE(lucasagomes): the create_transaction method from"}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_1d5500fa","line":169,"range":{"start_line":166,"start_character":0,"end_line":169,"end_character":47},"updated":"2019-02-04 06:23:35.000000000","message":"i guess this comment needs an update","commit_id":"0b3848f796a8e1a5954c7ed7bb8218cc1120a45b"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"7744e61ce2e94009106e73239abed06ac161228b","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    @contextlib.contextmanager"},{"line_number":165,"context_line":"    def transaction(self, *args, **kwargs):"},{"line_number":166,"context_line":"        \"\"\"A wrapper on the ovsdbapp transaction to work with revisions."},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"        This method is just a wrapper around the ovsdbapp transaction"},{"line_number":169,"context_line":"        to handle revision conflicts correctly."},{"line_number":170,"context_line":"        \"\"\""},{"line_number":171,"context_line":"        try:"},{"line_number":172,"context_line":"            # NOTE(lucasagomes): the create_transaction method from"}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_9bd1e132","line":169,"range":{"start_line":166,"start_character":0,"end_line":169,"end_character":47},"in_reply_to":"9fdfeff1_1d5500fa","updated":"2019-02-05 11:20:12.000000000","message":"True thanks. Let me update it.\n\nI\u0027m not sure if we want to have this patch merged, the way the code is structured in networking-ovn and after the READONLY patch for ovsdbapp (https://review.openstack.org/#/c/633070/) I think we solved the nesting issues.\n\nBut, we never know. Using create_transaction() make us stay on the safe side of things. What you all think ?","commit_id":"0b3848f796a8e1a5954c7ed7bb8218cc1120a45b"}]}
