)]}'
{"barbican/model/models.py":[{"author":{"_account_id":9914,"name":"Ade Lee","email":"alee@redhat.com","username":"alee"},"change_message_id":"46c2b74dfa1e23085c8c2c6e82129a04aa765730","unresolved":false,"context_lines":[{"line_number":635,"context_line":""},{"line_number":636,"context_line":""},{"line_number":637,"context_line":"class OrderRetryTask(BASE, SoftDeleteMixIn, ModelBase):"},{"line_number":638,"context_line":""},{"line_number":639,"context_line":"    __tablename__ \u003d \"order_retry_tasks\""},{"line_number":640,"context_line":"    __table_args__ \u003d {\"mysql_engine\": \"InnoDB\"}"},{"line_number":641,"context_line":"    __table_initialized__ \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_62ba816f","line":638,"updated":"2015-03-25 21:33:00.000000000","message":"Are we concerned at all about the large number of retry task entries?  A single CA request that takes 3 days to process will generate 60*24*3 entries for a check request, right?\n\nOr is the same task updated every time it is executed?","commit_id":"33d75eee5885e3030e2ce7e71df0274adc543db6"},{"author":{"_account_id":9914,"name":"Ade Lee","email":"alee@redhat.com","username":"alee"},"change_message_id":"4522d8ced4198ac9dbca8bebc07be33d5536b2b5","unresolved":false,"context_lines":[{"line_number":635,"context_line":""},{"line_number":636,"context_line":""},{"line_number":637,"context_line":"class OrderRetryTask(BASE, SoftDeleteMixIn, ModelBase):"},{"line_number":638,"context_line":""},{"line_number":639,"context_line":"    __tablename__ \u003d \"order_retry_tasks\""},{"line_number":640,"context_line":"    __table_args__ \u003d {\"mysql_engine\": \"InnoDB\"}"},{"line_number":641,"context_line":"    __table_initialized__ \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa963961_db881d25","line":638,"in_reply_to":"1a6ced46_06bc7805","updated":"2015-03-27 16:59:14.000000000","message":"I thought that the time to retry with 60 seconds, not 60 minutes.  Still its possible (and likely) that a plugin would want to reduce that to maybe 5 minutes.\n\nWe can defer this discussion till Liberty, but I think we need a config option (perhaps another SoftDeleteMixin or as part of the SoftDeleteMixin that allows the admin to decide whether or not old entries should be completely deleted.\n\nThese kinds of entries are prime examples of things to delete.","commit_id":"33d75eee5885e3030e2ce7e71df0274adc543db6"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"d4f85a9d0aade2fcec70c99409815957c21e5757","unresolved":false,"context_lines":[{"line_number":635,"context_line":""},{"line_number":636,"context_line":""},{"line_number":637,"context_line":"class OrderRetryTask(BASE, SoftDeleteMixIn, ModelBase):"},{"line_number":638,"context_line":""},{"line_number":639,"context_line":"    __tablename__ \u003d \"order_retry_tasks\""},{"line_number":640,"context_line":"    __table_args__ \u003d {\"mysql_engine\": \"InnoDB\"}"},{"line_number":641,"context_line":"    __table_initialized__ \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_06bc7805","line":638,"in_reply_to":"1a6ced46_62ba816f","updated":"2015-03-26 03:39:51.000000000","message":"No, a new record would be created for each retry process. That said I would expect that we shouldn\u0027t check cert status with a CA but once an hour at the most? At any rate I would like to talk in Liberty about introducing processes to hard remove records after a period of time.","commit_id":"33d75eee5885e3030e2ce7e71df0274adc543db6"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"d6704cde37cce0054a7277fc1e0bb2502dfe1927","unresolved":false,"context_lines":[{"line_number":635,"context_line":""},{"line_number":636,"context_line":""},{"line_number":637,"context_line":"class OrderRetryTask(BASE, SoftDeleteMixIn, ModelBase):"},{"line_number":638,"context_line":""},{"line_number":639,"context_line":"    __tablename__ \u003d \"order_retry_tasks\""},{"line_number":640,"context_line":"    __table_args__ \u003d {\"mysql_engine\": \"InnoDB\"}"},{"line_number":641,"context_line":"    __table_initialized__ \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"da9b358b_bc1d5c68","line":638,"in_reply_to":"fa963961_db881d25","updated":"2015-03-30 14:44:35.000000000","message":"Yep a Liberty discussion for deletes in general would be good for sure. For these retry records though, if workers crashed while trying to process them, I\u0027d say we should have a soft delete policy to allow for fixing them later. For relatively short orders like key generation, a stuck PENDING order would be detected by clients easily. For long running orders though it would be much more difficult for clients to know.","commit_id":"33d75eee5885e3030e2ce7e71df0274adc543db6"}],"barbican/tasks/common.py":[{"author":{"_account_id":9914,"name":"Ade Lee","email":"alee@redhat.com","username":"alee"},"change_message_id":"46c2b74dfa1e23085c8c2c6e82129a04aa765730","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        self.status \u003d status"},{"line_number":76,"context_line":"        self.status_message \u003d status_message"},{"line_number":77,"context_line":"        self.retry_task \u003d retry_task"},{"line_number":78,"context_line":"        self.retry_msec \u003d max(int(retry_msec), 0)"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    def is_follow_on_needed(self):"},{"line_number":81,"context_line":"        if self.retry_task:"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_c22df5a9","line":78,"updated":"2015-03-25 21:33:00.000000000","message":"what is the effect of a retry_msec \u003d0?","commit_id":"33d75eee5885e3030e2ce7e71df0274adc543db6"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"d4f85a9d0aade2fcec70c99409815957c21e5757","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        self.status \u003d status"},{"line_number":76,"context_line":"        self.status_message \u003d status_message"},{"line_number":77,"context_line":"        self.retry_task \u003d retry_task"},{"line_number":78,"context_line":"        self.retry_msec \u003d max(int(retry_msec), 0)"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    def is_follow_on_needed(self):"},{"line_number":81,"context_line":"        if self.retry_task:"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_a644841b","line":78,"in_reply_to":"1a6ced46_c22df5a9","updated":"2015-03-26 03:39:51.000000000","message":"This will essentially set the retry_at time to the current time. So the next periodic processing event will pick this task up to retry.","commit_id":"33d75eee5885e3030e2ce7e71df0274adc543db6"}]}
