Ring reload normalization should be moved to RingData deserialization

Bug #1696837 reported by clayg on 2017-06-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Rajat Sharma

Bug Description

There's some code to handle normalization of legacy data during Ring [re]loading [1].

It should be moved to RingData with the other normalization [2] so e.g. metadata_only=True deserialization can pickup a normalized list of device info dictionaries.

1. https://github.com/openstack/swift/blob/d46b0f29f9e023249b582bfa1fbf80cb8f577182/swift/common/ring/ring.py#L203

2. https://github.com/openstack/swift/blob/d46b0f29f9e023249b582bfa1fbf80cb8f577182/swift/common/ring/ring.py#L46

Rajat Sharma (tajar29) on 2017-10-26
Changed in swift:
assignee: nobody → Rajat Sharma (tajar29)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers