Matthew Oliver 13b17af45e Add shrink candidates to recon dump
This  patch adds shrinking candidates to the sharding recon dump
shrinking candidates will always be SHARDED root containers. And
get added to the candidate list if they have any ranges that are
compactible, that is to say they have ranges that can be compacted into
an upper neighbour.

The shrinking_candidates data comes out something like:

 {
    'found': 1,
    'top': [
	{
	    'object_count': <some number>,
	    'account': 'a',
	    'meta_timestamp': <ts1>,
	    'container': 'c',
	    'file_size': <something>,
	    'path': <something>,
	    'root': <something>,
	    'node_index': 0,
	    'compactible_ranges': 2
	}]
 }

In this case 'compactible_ranges' is the number of donors that can be shrunk
in a single command.

Change-Id: I63fc9ae39e164c2ce82865d055527b52c86b5b2a
2021-02-12 08:26:41 -08:00
..
2010-07-12 17:03:45 -05:00
2020-04-03 21:22:38 +02:00