Volume transfer pagination support

Bug #1814195 reported by Yikun Jiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Yikun Jiang

Bug Description

Currently, volume transfer API does not support pagination. As in large scale deployment the number of migration records can be also very large and querying them all can lead to performance bottleneck, it will be very useful to support pagination

Also, there is a unexpected behavior, we can only get max to ``CONF.osapi_max_limit`` records when we list volume transfers under the current implementation, that means if we have more than ``CONF.osapi_max_limit`` items in db, we can only get first CONF.osapi_max_limit records.

So, we should support volume transfer pagination.

[1] https://github.com/openstack/cinder/blob/master/cinder/api/contrib/volume_transfer.py#L66
[2] https://github.com/openstack/cinder/blob/c0efaa1/cinder/api/common.py#L136

Yikun Jiang (yikunkero)
description: updated
Changed in cinder:
assignee: nobody → Yikun Jiang (yikunkero)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/602181
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=311c5153bc7a9c13a670e102dee54a91b1adbb43
Submitter: Zuul
Branch: master

commit 311c5153bc7a9c13a670e102dee54a91b1adbb43
Author: TommyLike <email address hidden>
Date: Wed Sep 12 16:12:06 2018 -0600

    Support transfer pagination

    This patch adds support for transfer pagination.

    Co-Authored-By: Yikun Jiang <email address hidden>

    Closes-bug: #1814195

    Change-Id: Idb04f783b2287b2b45d626131648b0005a232fbe

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 14.0.0.0rc1

This issue was fixed in the openstack/cinder 14.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.