)]}'
{"swift/container/sharder.py":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"f151869f198493874b529aaae5afae71ec1f0a4a","unresolved":false,"context_lines":[{"line_number":134,"context_line":"    def _append_stat(self, category, key, value):"},{"line_number":135,"context_line":"        if not self.stats[\u0027sharding\u0027][category][key]:"},{"line_number":136,"context_line":"            self.stats[\u0027sharding\u0027][category][key] \u003d list()"},{"line_number":137,"context_line":"        self.stats[\u0027sharding\u0027][category][key].append(value)"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    def _min_stat(self, category, key, value):"},{"line_number":140,"context_line":"        current \u003d self.stats[\u0027sharding\u0027][category][key]"}],"source_content_type":"text/x-python","patch_set":4,"id":"bf659307_42edfcb4","line":137,"updated":"2018-04-02 22:25:30.000000000","message":"I really really hope we never have so many candidates that we need to do the top-N limiting here instead of at the end of the run...","commit_id":"94dcf2165bd5271c8457dfb12625a3a411a9a3ef"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"f151869f198493874b529aaae5afae71ec1f0a4a","unresolved":false,"context_lines":[{"line_number":687,"context_line":"                    \u0027account\u0027: broker.account,"},{"line_number":688,"context_line":"                    \u0027container\u0027: broker.container,"},{"line_number":689,"context_line":"                    \u0027root\u0027: broker.root_path,"},{"line_number":690,"context_line":"                    \u0027object_count\u0027: own_shard_range.object_count,"},{"line_number":691,"context_line":"                    \u0027meta_timestamp\u0027: own_shard_range.meta_timestamp.internal,"},{"line_number":692,"context_line":"                    \u0027file_size\u0027: file_size}"},{"line_number":693,"context_line":"            self._append_stat(\u0027sharding_candidates\u0027, \u0027all\u0027, info)"}],"source_content_type":"text/x-python","patch_set":4,"id":"bf659307_e208d092","line":690,"updated":"2018-04-02 22:25:30.000000000","message":"I wonder how hard it would be to get row count, too...\n\nProbably more useful once we get to identifying *shrinking* candidates -- but it\u0027d be nice to have some indication that \"Oh, I should maybe wait a week or so before I go and do a bunch of extra work for no reason.\"","commit_id":"94dcf2165bd5271c8457dfb12625a3a411a9a3ef"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"f151869f198493874b529aaae5afae71ec1f0a4a","unresolved":false,"context_lines":[{"line_number":1071,"context_line":"        return len(created_ranges)"},{"line_number":1072,"context_line":""},{"line_number":1073,"context_line":"    def _is_sharding_candidate(self, shard_range):"},{"line_number":1074,"context_line":"        return (shard_range.state \u003d\u003d ShardRange.ACTIVE and"},{"line_number":1075,"context_line":"                shard_range.object_count \u003e\u003d self.shard_container_size)"},{"line_number":1076,"context_line":""},{"line_number":1077,"context_line":"    def _find_sharding_candidates(self, broker, shard_ranges\u003dNone):"}],"source_content_type":"text/x-python","patch_set":4,"id":"bf659307_222008f7","line":1074,"updated":"2018-04-02 22:25:30.000000000","message":"So as soon as we push it into SHARDING the container falls off the list? I\u0027d kinda rather have it hang around and maybe drop progress info if we can -- FOUND ranges up x (totaling m rows), CLEAVED ranges up to y (totaling n rows)...","commit_id":"94dcf2165bd5271c8457dfb12625a3a411a9a3ef"}]}
