)]}'
{"swift/obj/reconstructor.py":[{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"1e2928e2afe33340c745f210ffd2f81387b78909","unresolved":false,"context_lines":[{"line_number":736,"context_line":"        jobs \u003d []"},{"line_number":737,"context_line":""},{"line_number":738,"context_line":"        # check the primary nodes - to see if the part belongs here"},{"line_number":739,"context_line":"        try:"},{"line_number":740,"context_line":"            part_nodes \u003d policy.object_ring.get_part_nodes(partition)"},{"line_number":741,"context_line":"        except ValueError:"},{"line_number":742,"context_line":"            part_nodes \u003d []"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_a9b5a27e","line":739,"updated":"2016-12-18 08:33:45.000000000","message":"part_nodes was empty list before the bug fix","commit_id":"1d9ca8e88bd90e7ec13d010966fbc2a97a22a03b"}],"swift/obj/replicator.py":[{"author":{"_account_id":9625,"name":"Thiago da Silva","email":"thiagodasilva@gmail.com","username":"thiago"},"change_message_id":"a6d29ab34dff3d194b5c9d06aa3769aafcae051b","unresolved":false,"context_lines":[{"line_number":620,"context_line":"                    job_path \u003d join(obj_path, partition)"},{"line_number":621,"context_line":"                    part \u003d int(partition)"},{"line_number":622,"context_line":"                    if not 0 \u003c\u003d part \u003c policy.object_ring.partition_count:"},{"line_number":623,"context_line":"                        part_nodes \u003d []"},{"line_number":624,"context_line":"                    else:"},{"line_number":625,"context_line":"                        part_nodes \u003d policy.object_ring.get_part_nodes(part)"},{"line_number":626,"context_line":"                    nodes \u003d [node for node in part_nodes"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a71b18c_f84889b5","line":623,"range":{"start_line":623,"start_character":24,"end_line":623,"end_character":39},"updated":"2016-12-09 21:12:40.000000000","message":"I see how you fixed the unit test error by \"catching the issue\" before it happens, but now you are just back to the same where you were before which is to end up with a part_nodes \u003d [] which I think is what the bug was about.\n\nI need to dig more into the replicator code to understand what the behavior is/should be when part_nodes\u003d[]","commit_id":"1d9ca8e88bd90e7ec13d010966fbc2a97a22a03b"},{"author":{"_account_id":20764,"name":"Sachin","email":"psachin@redhat.com","username":"psachin"},"change_message_id":"1e2928e2afe33340c745f210ffd2f81387b78909","unresolved":false,"context_lines":[{"line_number":620,"context_line":"                    job_path \u003d join(obj_path, partition)"},{"line_number":621,"context_line":"                    part \u003d int(partition)"},{"line_number":622,"context_line":"                    if not 0 \u003c\u003d part \u003c policy.object_ring.partition_count:"},{"line_number":623,"context_line":"                        part_nodes \u003d []"},{"line_number":624,"context_line":"                    else:"},{"line_number":625,"context_line":"                        part_nodes \u003d policy.object_ring.get_part_nodes(part)"},{"line_number":626,"context_line":"                    nodes \u003d [node for node in part_nodes"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6eadb0_adfd710a","line":623,"range":{"start_line":623,"start_character":24,"end_line":623,"end_character":39},"in_reply_to":"3a71b18c_f84889b5","updated":"2016-12-18 08:33:45.000000000","message":"Yes :( but this what Clayg suggested in https://review.openstack.org/#/c/319988/ \n\n\"..if there was a way to separate adding this additional check from refactoring the replicator code that should gracefully handle this condition\"\n\nHope I got that correctly.","commit_id":"1d9ca8e88bd90e7ec13d010966fbc2a97a22a03b"}]}
