)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8770,"name":"Ken Giusti","email":"kgiusti@gmail.com","username":"kgiusti"},"change_message_id":"5595cf0a5d8d57dbacff50ba5ab8be8a7f78da45","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Don\u0027t reply when we known that client is gone"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case of a broker restart/failover a reply queue can be"},{"line_number":10,"context_line":"unreachable for short period the IncomingMessage.send_reply"},{"line_number":11,"context_line":"will block for 60 seconds in this case or until rabbit recovers."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"fa32b979_9e3b999c","line":9,"updated":"2015-06-19 20:03:14.000000000","message":"I didn\u0027t know about this 60 sec delay when sending a reply to an incoming message.\n\nBehaviors like this really should be documented in the base driver class (base.py), as they\u0027re part of the visible API.   Since I wasn\u0027t aware of this, I suspect the way the amqp1 driver behaves in similar circumstances will be different.\n\nI\u0027m off topic here, sorry.  The patch looks fine to me, btw.","commit_id":"1ac7f03e053abf513a6b65b7c29ae4d0d04cbee3"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"03701e07605e62bdca98fdbf2ecf10bf8ce7c637","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Don\u0027t reply when we known that client is gone"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"In case of a broker restart/failover a reply queue can be"},{"line_number":10,"context_line":"unreachable for short period the IncomingMessage.send_reply"},{"line_number":11,"context_line":"will block for 60 seconds in this case or until rabbit recovers."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"ba3cc151_e869ce26","line":9,"in_reply_to":"fa32b979_9e3b999c","updated":"2015-07-06 09:02:12.000000000","message":"Yes, but I guess this is rabbit issue only, due to the fact that the reply queue have been historically created with auto_delete\u003dTrue.\n\nAnother rabbitmq reported issue in the past was that a HA rabbitmq cluster that failover can in certain circumstance report that the queue doesn\u0027t exists just after the failover when It exists in reality. That another reason of why we do this crap.","commit_id":"1ac7f03e053abf513a6b65b7c29ae4d0d04cbee3"}],"oslo_messaging/_drivers/amqp.py":[{"author":{"_account_id":13290,"name":"Oleksii Zamiatin","email":"ozamiatin@mirantis.com","username":"ozamiatin"},"change_message_id":"68235f05d7d26c7ed2a71ae05e2870f741931190","unresolved":false,"context_lines":[{"line_number":265,"context_line":"    msg.update({UNIQUE_ID: unique_id})"},{"line_number":266,"context_line":""},{"line_number":267,"context_line":""},{"line_number":268,"context_line":"class AMQPDestinationNotFound(Exception):"},{"line_number":269,"context_line":"    pass"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba3cc151_165e8845","line":268,"updated":"2015-07-06 13:05:38.000000000","message":"Any docstring?","commit_id":"286659a38be5db399d0b9f807fac7b980d6c0b7e"}],"oslo_messaging/_drivers/amqpdriver.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"5b970d117956f3b3a86828d3bae2778a57c5b290","unresolved":false,"context_lines":[{"line_number":114,"context_line":""},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"class ObsoleteReplyQueuesCache(object):"},{"line_number":117,"context_line":"    # NOTE(sileht): In case of a broker restart/failover"},{"line_number":118,"context_line":"    # a reply queue can be unreachable for short period"},{"line_number":119,"context_line":"    # the IncomingMessage.send_reply will block for 60 seconds"},{"line_number":120,"context_line":"    # in this case or until rabbit recovers."}],"source_content_type":"text/x-python","patch_set":5,"id":"fa32b979_68edb08d","line":117,"updated":"2015-06-20 08:10:33.000000000","message":"Can you convert this comment into a class documentation that explains what the goal of this class is?","commit_id":"1ac7f03e053abf513a6b65b7c29ae4d0d04cbee3"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"03701e07605e62bdca98fdbf2ecf10bf8ce7c637","unresolved":false,"context_lines":[{"line_number":114,"context_line":""},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"class ObsoleteReplyQueuesCache(object):"},{"line_number":117,"context_line":"    # NOTE(sileht): In case of a broker restart/failover"},{"line_number":118,"context_line":"    # a reply queue can be unreachable for short period"},{"line_number":119,"context_line":"    # the IncomingMessage.send_reply will block for 60 seconds"},{"line_number":120,"context_line":"    # in this case or until rabbit recovers."}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_2886d613","line":117,"in_reply_to":"fa32b979_68edb08d","updated":"2015-07-06 09:02:12.000000000","message":"Done","commit_id":"1ac7f03e053abf513a6b65b7c29ae4d0d04cbee3"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"5b970d117956f3b3a86828d3bae2778a57c5b290","unresolved":false,"context_lines":[{"line_number":139,"context_line":"        self._cache \u003d cachetools.TTLCache(self.SIZE, self.TTL)"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    def reply_q_valid(self, reply_q, msg_id):"},{"line_number":142,"context_line":"        if reply_q and reply_q in self._cache:"},{"line_number":143,"context_line":"            self._no_reply_log(reply_q, msg_id)"},{"line_number":144,"context_line":"            return False"},{"line_number":145,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa32b979_48ec6c8f","line":142,"updated":"2015-06-20 08:10:33.000000000","message":"Can we move the check on emptiness/nullness to the caller of this method? I don\u0027t think that check belongs here.","commit_id":"1ac7f03e053abf513a6b65b7c29ae4d0d04cbee3"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"03701e07605e62bdca98fdbf2ecf10bf8ce7c637","unresolved":false,"context_lines":[{"line_number":139,"context_line":"        self._cache \u003d cachetools.TTLCache(self.SIZE, self.TTL)"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    def reply_q_valid(self, reply_q, msg_id):"},{"line_number":142,"context_line":"        if reply_q and reply_q in self._cache:"},{"line_number":143,"context_line":"            self._no_reply_log(reply_q, msg_id)"},{"line_number":144,"context_line":"            return False"},{"line_number":145,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_088192fb","line":142,"in_reply_to":"fa32b979_48ec6c8f","updated":"2015-07-06 09:02:12.000000000","message":"Done","commit_id":"1ac7f03e053abf513a6b65b7c29ae4d0d04cbee3"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"5b970d117956f3b3a86828d3bae2778a57c5b290","unresolved":false,"context_lines":[{"line_number":146,"context_line":""},{"line_number":147,"context_line":"    def add(self, reply_q, msg_id):"},{"line_number":148,"context_line":"        with self._lock:"},{"line_number":149,"context_line":"            self._cache.update({reply_q: msg_id})"},{"line_number":150,"context_line":"        self._no_reply_log(reply_q, msg_id)"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    def _no_reply_log(self, reply_q, msg_id):"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa32b979_c8a63c53","line":149,"updated":"2015-06-20 08:10:33.000000000","message":"Won\u0027t this override the reply_q value for every message that needs to be sent? Should the value be a set of `msg_id`s ?\n\n(side question: Does updating the value reset the TTL?)\n\nOr can we just make it a map between msg_id -\u003e reply_q instead?","commit_id":"1ac7f03e053abf513a6b65b7c29ae4d0d04cbee3"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"ec78bfc17388b6c3b0d8f8e0c9e50b151f8a79af","unresolved":false,"context_lines":[{"line_number":146,"context_line":""},{"line_number":147,"context_line":"    def add(self, reply_q, msg_id):"},{"line_number":148,"context_line":"        with self._lock:"},{"line_number":149,"context_line":"            self._cache.update({reply_q: msg_id})"},{"line_number":150,"context_line":"        self._no_reply_log(reply_q, msg_id)"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    def _no_reply_log(self, reply_q, msg_id):"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_8dfb7447","line":149,"in_reply_to":"fa32b979_c8a63c53","updated":"2015-07-06 08:35:04.000000000","message":"We don\u0027t really care of the msg_id, we just need the reply_q with a TTL. I put the msg_id only to help me to debug. I can just put None as value .\n\nYes updating the value update the ttl.","commit_id":"1ac7f03e053abf513a6b65b7c29ae4d0d04cbee3"},{"author":{"_account_id":13290,"name":"Oleksii Zamiatin","email":"ozamiatin@mirantis.com","username":"ozamiatin"},"change_message_id":"68235f05d7d26c7ed2a71ae05e2870f741931190","unresolved":false,"context_lines":[{"line_number":136,"context_line":"    and doesn\u0027t hold to much memory."},{"line_number":137,"context_line":"    \"\"\""},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    SIZE \u003d 200"},{"line_number":140,"context_line":"    TTL \u003d 60"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"    def __init__(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba3cc151_3148762d","line":139,"updated":"2015-07-06 13:05:38.000000000","message":"Config options?","commit_id":"286659a38be5db399d0b9f807fac7b980d6c0b7e"}]}
