)]}'
{"swift/container/sharder.py":[{"author":{"_account_id":7233,"name":"Matthew Oliver","email":"matt@oliver.net.au","username":"mattoliverau"},"change_message_id":"3e44d48442a8f7e81a3433bc3ef0991a0a3bd4fc","unresolved":true,"context_lines":[{"line_number":1511,"context_line":"            if acceptor.name !\u003d own_shard_range.name:"},{"line_number":1512,"context_line":"                self._send_shard_ranges("},{"line_number":1513,"context_line":"                    acceptor.account, acceptor.container, [acceptor])"},{"line_number":1514,"context_line":"                acceptor.increment_meta(donor.object_count, donor.bytes_used)"},{"line_number":1515,"context_line":"            else:"},{"line_number":1516,"context_line":"                # no need to change namespace or stats"},{"line_number":1517,"context_line":"                acceptor.update_state(ShardRange.ACTIVE,"}],"source_content_type":"text/x-python","patch_set":1,"id":"b53dd058_d9779c95","side":"PARENT","line":1514,"updated":"2021-01-25 08:40:46.000000000","message":"yeah, this meta update is a little \"interesing\" adding the doner object count to acceptor and then sends it to the donor. But to be honest for what real reason? what does the donor care? will it send it one to the acceptor later, ok, whill this really update the stats any quicker then just getting the donor cleave into the acceptor and then let the sharder on the acceptor update the _real_ stats?","commit_id":"2711a92643cbd37af871a60e827d6228b267e9c4"}],"test/probe/test_sharder.py":[{"author":{"_account_id":7233,"name":"Matthew Oliver","email":"matt@oliver.net.au","username":"mattoliverau"},"change_message_id":"ece88ce547630a085f931209bd934f1d0ade030b","unresolved":true,"context_lines":[{"line_number":1687,"context_line":"            # note: expected_shards does not include the sharded root range"},{"line_number":1688,"context_line":"            obj_count, bytes_used \u003d check_shard_nodes_data("},{"line_number":1689,"context_line":"                shard_nodes_data, expected_state\u003d\u0027sharded\u0027, expected_shards\u003d1,"},{"line_number":1690,"context_line":"                exp_obj_count\u003dlen(second_shard_objects),"},{"line_number":1691,"context_line":"                exp_sharded_root_range\u003dTrue)"},{"line_number":1692,"context_line":"            # but the donor is empty and so reports zero stats"},{"line_number":1693,"context_line":"            self.assertEqual(0, obj_count)"}],"source_content_type":"text/x-python","patch_set":3,"id":"13be34b2_48a4b68a","line":1690,"updated":"2021-01-29 04:17:38.000000000","message":"removing the +1 is because we\u0027re not pushing updated shard stats when sending the acceptor and donor to the acceptor (as we aren\u0027t sending shinking acceptors or whatnot anymore).","commit_id":"882542cbf8d23c352a0dff74632d9514d316ddd4"}]}
