Update git submodules

* Update swift from branch 'master'
  to 876cf348627cee0d072fd19a55de99fa7f5e37c9
  - Merge "Consider tombstone count before shrinking a shard"
  - Consider tombstone count before shrinking a shard
    
    Previously a shard might be shrunk if its object_count was fell below
    the shrink_threshold. However, it is possible that a shard with few
    objects has a large number of tombstones, which would result in a
    larger than anticipated replication of rows to the acceptor shard.
    
    With this patch, a shard's row count (i.e. the sum of tombstones and
    objects) must be below the shrink_threshold before the shard will be
    considered for shrinking.
    
    A number of changes are made to enable tombstone count to be used in
    shrinking decisions:
    
     - DatabaseBroker reclaim is enhanced to count remaining tombstones
       after rows have been reclaimed. A new TombstoneReclaimer class is
       added to encapsulate the reclaim process and tombstone count.
     - ShardRange has new 'tombstones' and 'row_count' attributes.
     - A 'tombstones' column is added to the Containerbroker shard_range
       table.
     - The sharder performs a reclaim prior to reporting shard container
       stats to the root container so that the tombstone count can be
       included.
     - The sharder uses 'row_count' rather than 'object_count' when
       evaluating if a shard range is a shrink candidate.
    
    Change-Id: I41b86c19c243220b7f1c01c6ecee52835de972b6
This commit is contained in:
Zuul 2021-05-10 05:49:18 +00:00 committed by Gerrit Code Review
parent a9a31d7c01
commit 632d390c34
1 changed files with 1 additions and 1 deletions

2
swift

@ -1 +1 @@
Subproject commit ca1920eba399b401b280200219ceba6724241866
Subproject commit 876cf348627cee0d072fd19a55de99fa7f5e37c9