Alistair Coles 3ee262d8b3 Make cmp_policy_info agree with the API behaviour
When we try to determine the correct state from a set of inconsistent
replicas of the state, the outcome should always be the same as if the
originating requests had all been handled by a single API endpoint.

In the case of storage policy index, the least recently PUT index wins
at the container server API, but previously cmp_policy_info favored
the most recently PUT index if after a DELETE.

This patch modifies cmp_policy_info to be consistent with the API
behavior.

Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>
Change-Id: Ia107c1c8ac051890bea00770f06c53a47eafb9d6
2021-11-12 17:07:21 +00:00
..
2010-07-12 17:03:45 -05:00
2021-05-05 15:30:21 -07:00