)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":38496,"name":"Andressa Cabistani","display_name":"Andressa","email":"acabistani@gmail.com","username":"andressadotpy","status":"I\u0027m a Software Engineer at Red Hat and I love Open Source and connect with people! Feel free to DM through IRC, I\u0027ll be delighted to chat"},"change_message_id":"df8c03b7e40526d5b2163b65c65d49245887c58a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"d5c140cb_98695a32","updated":"2026-10-16 09:13:35.000000000","message":"Tested in SAIO with `auto_shard \u003d True`, `shard_container_threshold \u003d 10`, `minimum_shard_age \u003d 0`:\n\n- Manually deleted a shard range from the root to create a namespace gap, then ran the sharder. One pass was enough to expand the adjacent ACTIVE range to fill the gap. All 15 objects remained visible throughout with no listing holes.\n\n- Created a crossing overlap where shard-0\u0027s upper extends past shard-1\u0027s lower without reaching shard-1\u0027s upper — no complete non-overlapping path spans the full namespace \u0027\u0027 → \u0027\u0027. The sharder raised `GapsFoundException`, logged a warning, and did not crash. 8 of 15 objects were hidden from listing. This is the correct behavior for an unresolvable overlap, but the limitation is not documented anywhere.\n\n- Created an overlap where one shard range is fully contained inside another. A complete non-overlapping path still exists. The sharder called `_repair_overlaps` successfully, but it crashed with `TypeError: cannot unpack non-iterable NoneType` object because `_repair_overlaps` returns `None` on the success path. It is fixed in 1003413 but I believe it\u0027s worth a mention.","commit_id":"07644d98e347e914fc18b9f0c60330298b7f8dea"}],"swift/cli/manage_shard_ranges.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"8caa07af099fc2c464efeef358c80dc7ebfcbf3b","unresolved":false,"context_lines":[{"line_number":649,"context_line":"    return acceptor_path, qualified_donors"},{"line_number":650,"context_line":""},{"line_number":651,"context_line":""},{"line_number":652,"context_line":"def _find_overlapping_donors(shard_ranges, own_sr, args):"},{"line_number":653,"context_line":"    shard_ranges \u003d ShardRangeList(shard_ranges)"},{"line_number":654,"context_line":"    if ShardRange.SHARDING in shard_ranges.states:"},{"line_number":655,"context_line":"        # This may be over-cautious, but for now we\u0027ll avoid dealing with"}],"source_content_type":"text/x-python","patch_set":2,"id":"d69067f1_2d379bea","line":652,"updated":"2026-06-16 05:36:29.000000000","message":"pep8: F811 redefinition of unused \u0027_find_overlapping_donors\u0027 from line 171","commit_id":"935268d1009e55dd1d355cad8b77a672795e7bb7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"8caa07af099fc2c464efeef358c80dc7ebfcbf3b","unresolved":false,"context_lines":[{"line_number":666,"context_line":"        # completes."},{"line_number":667,"context_line":"        raise InvalidStateException(\u0027Found shard ranges in shrinking state\u0027)"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"    paths \u003d find_paths(shard_ranges)"},{"line_number":670,"context_line":"    ranked_paths \u003d rank_paths(paths, own_sr)"},{"line_number":671,"context_line":"    if not (ranked_paths and ranked_paths[0].includes(own_sr)):"},{"line_number":672,"context_line":"        # individual paths do not have gaps within them; if no path spans the"}],"source_content_type":"text/x-python","patch_set":2,"id":"fed046e2_925f2faa","line":669,"updated":"2026-06-16 05:36:29.000000000","message":"pep8: F821 undefined name \u0027find_paths\u0027","commit_id":"935268d1009e55dd1d355cad8b77a672795e7bb7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"8caa07af099fc2c464efeef358c80dc7ebfcbf3b","unresolved":false,"context_lines":[{"line_number":667,"context_line":"        raise InvalidStateException(\u0027Found shard ranges in shrinking state\u0027)"},{"line_number":668,"context_line":""},{"line_number":669,"context_line":"    paths \u003d find_paths(shard_ranges)"},{"line_number":670,"context_line":"    ranked_paths \u003d rank_paths(paths, own_sr)"},{"line_number":671,"context_line":"    if not (ranked_paths and ranked_paths[0].includes(own_sr)):"},{"line_number":672,"context_line":"        # individual paths do not have gaps within them; if no path spans the"},{"line_number":673,"context_line":"        # entire namespace then there must be a gap in the shard_ranges"}],"source_content_type":"text/x-python","patch_set":2,"id":"fde1c2f6_fcb9f66a","line":670,"updated":"2026-06-16 05:36:29.000000000","message":"pep8: F821 undefined name \u0027rank_paths\u0027","commit_id":"935268d1009e55dd1d355cad8b77a672795e7bb7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"8caa07af099fc2c464efeef358c80dc7ebfcbf3b","unresolved":false,"context_lines":[{"line_number":704,"context_line":""},{"line_number":705,"context_line":""},{"line_number":706,"context_line":"def _fix_gaps(broker, args, paths_with_gaps):"},{"line_number":707,"context_line":"    timestamp \u003d NormalTimestamp.now()"},{"line_number":708,"context_line":"    solutions \u003d []"},{"line_number":709,"context_line":"    print(\u0027Found %d gaps:\u0027 % len(paths_with_gaps))"},{"line_number":710,"context_line":"    solutions, expanding_ranges, _ \u003d _find_gap_solutions("}],"source_content_type":"text/x-python","patch_set":2,"id":"83f725c6_e3136cad","line":707,"updated":"2026-06-16 05:36:29.000000000","message":"pep8: F841 local variable \u0027timestamp\u0027 is assigned to but never used","commit_id":"935268d1009e55dd1d355cad8b77a672795e7bb7"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"ac059a45323acd7e98e341b383c3c375174c167d","unresolved":false,"context_lines":[{"line_number":653,"context_line":"    return acceptor_path, qualified_donors"},{"line_number":654,"context_line":""},{"line_number":655,"context_line":""},{"line_number":656,"context_line":"def _find_overlapping_donors(shard_ranges, own_sr, args):"},{"line_number":657,"context_line":"    shard_ranges \u003d ShardRangeList(shard_ranges)"},{"line_number":658,"context_line":"    if ShardRange.SHARDING in shard_ranges.states:"},{"line_number":659,"context_line":"        # This may be over-cautious, but for now we\u0027ll avoid dealing with"}],"source_content_type":"text/x-python","patch_set":3,"id":"28062b9a_5f284a63","line":656,"updated":"2026-09-02 08:51:17.000000000","message":"pep8: F811 redefinition of unused \u0027_find_overlapping_donors\u0027 from line 172","commit_id":"0dd5804406bfc03d41715a9c0c289500129c32e0"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"ac059a45323acd7e98e341b383c3c375174c167d","unresolved":false,"context_lines":[{"line_number":670,"context_line":"        # completes."},{"line_number":671,"context_line":"        raise InvalidStateException(\u0027Found shard ranges in shrinking state\u0027)"},{"line_number":672,"context_line":""},{"line_number":673,"context_line":"    paths \u003d find_paths(shard_ranges)"},{"line_number":674,"context_line":"    ranked_paths \u003d rank_paths(paths, own_sr)"},{"line_number":675,"context_line":"    if not (ranked_paths and ranked_paths[0].includes(own_sr)):"},{"line_number":676,"context_line":"        # individual paths do not have gaps within them; if no path spans the"}],"source_content_type":"text/x-python","patch_set":3,"id":"cd64a73b_6dbbb715","line":673,"updated":"2026-09-02 08:51:17.000000000","message":"pep8: F821 undefined name \u0027find_paths\u0027","commit_id":"0dd5804406bfc03d41715a9c0c289500129c32e0"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"ac059a45323acd7e98e341b383c3c375174c167d","unresolved":false,"context_lines":[{"line_number":671,"context_line":"        raise InvalidStateException(\u0027Found shard ranges in shrinking state\u0027)"},{"line_number":672,"context_line":""},{"line_number":673,"context_line":"    paths \u003d find_paths(shard_ranges)"},{"line_number":674,"context_line":"    ranked_paths \u003d rank_paths(paths, own_sr)"},{"line_number":675,"context_line":"    if not (ranked_paths and ranked_paths[0].includes(own_sr)):"},{"line_number":676,"context_line":"        # individual paths do not have gaps within them; if no path spans the"},{"line_number":677,"context_line":"        # entire namespace then there must be a gap in the shard_ranges"}],"source_content_type":"text/x-python","patch_set":3,"id":"2ce7b470_c5bfef80","line":674,"updated":"2026-09-02 08:51:17.000000000","message":"pep8: F821 undefined name \u0027rank_paths\u0027","commit_id":"0dd5804406bfc03d41715a9c0c289500129c32e0"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"ac059a45323acd7e98e341b383c3c375174c167d","unresolved":false,"context_lines":[{"line_number":708,"context_line":""},{"line_number":709,"context_line":""},{"line_number":710,"context_line":"def _fix_gaps(broker, args, paths_with_gaps):"},{"line_number":711,"context_line":"    timestamp \u003d NormalTimestamp.now()"},{"line_number":712,"context_line":"    solutions \u003d []"},{"line_number":713,"context_line":"    print(\u0027Found %d gaps:\u0027 % len(paths_with_gaps))"},{"line_number":714,"context_line":"    solutions, expanding_ranges, _ \u003d _find_gap_solutions("}],"source_content_type":"text/x-python","patch_set":3,"id":"93cc4d82_414c658d","line":711,"updated":"2026-09-02 08:51:17.000000000","message":"pep8: F841 local variable \u0027timestamp\u0027 is assigned to but never used","commit_id":"0dd5804406bfc03d41715a9c0c289500129c32e0"}],"swift/common/exceptions.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"8caa07af099fc2c464efeef358c80dc7ebfcbf3b","unresolved":false,"context_lines":[{"line_number":343,"context_line":"        super(InvalidSolutionException, self).__init__(msg)"},{"line_number":344,"context_line":"        self.acceptor_path \u003d acceptor_path"},{"line_number":345,"context_line":"        self.overlapping_donors \u003d overlapping_donors"},{"line_number":346,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"97b8dd5f_8dd3cfea","line":346,"updated":"2026-06-16 05:36:29.000000000","message":"pep8: W391 blank line at end of file","commit_id":"935268d1009e55dd1d355cad8b77a672795e7bb7"}],"swift/container/sharder.py":[{"author":{"_account_id":38496,"name":"Andressa Cabistani","display_name":"Andressa","email":"acabistani@gmail.com","username":"andressadotpy","status":"I\u0027m a Software Engineer at Red Hat and I love Open Source and connect with people! Feel free to DM through IRC, I\u0027ll be delighted to chat"},"change_message_id":"df8c03b7e40526d5b2163b65c65d49245887c58a","unresolved":true,"context_lines":[{"line_number":104,"context_line":"        overlapping_donors \u003d ShardRangeList("},{"line_number":105,"context_line":"            [sr for sr in overlapping_donors"},{"line_number":106,"context_line":"                if sr not in parent_child_donors])"},{"line_number":107,"context_line":"        print(\u0027%d donor shards ignored due to parent-child relationship \u0027"},{"line_number":108,"context_line":"              \u0027checks\u0027 % len(parent_child_donors))"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    # Check minimum age requirement in overlaps between acceptors and donors."}],"source_content_type":"text/x-python","patch_set":4,"id":"2db9a526_ae9cada0","line":107,"updated":"2026-10-16 09:13:35.000000000","message":"shouldn\u0027t add an `if verbose` like the one in line 137?","commit_id":"07644d98e347e914fc18b9f0c60330298b7f8dea"}]}
