When listing records in the V1 API, two calls to central
are made - once for records once for recordsets - if the
content of either changes between the two calls, a failure
can occour. Instead, we already have all the data we need
so use it from the recordsets rather than make two calls
Reviewed: https:/ /review. openstack. org/226313 /git.openstack. org/cgit/ openstack/ designate/ commit/ ?id=eea5c1e8ad5 5d7ec17bf4695ba 63efbc0e170784
Committed: https:/
Submitter: Jenkins
Branch: master
commit eea5c1e8ad55d7e c17bf4695ba63ef bc0e170784
Author: Kiall Mac Innes <email address hidden>
Date: Tue Sep 22 14:05:01 2015 +0100
Fix race condition in V1 Records API
When listing records in the V1 API, two calls to central
are made - once for records once for recordsets - if the
content of either changes between the two calls, a failure
can occour. Instead, we already have all the data we need
so use it from the recordsets rather than make two calls
Change-Id: Ic43d7e8c0d6026 7ec4788b63ed5f7 e88e7bbe625
Closes-Bug: 1487934