]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Filter snapshots data on the DB side
authorYuriy Nesenenko <ynesenenko@mirantis.com>
Tue, 19 May 2015 15:17:01 +0000 (18:17 +0300)
committerYuriy Nesenenko <ynesenenko@mirantis.com>
Thu, 25 Jun 2015 15:06:27 +0000 (15:06 +0000)
commitf5e77c982df2818aee113676e195d4aa7ba6c23d
treef90ddf58a7c8293f50ab98a396995c970efb87bb
parent5f6cbecc5ec5b6ca034290dc7bd04ab7d956cd15
Filter snapshots data on the DB side

It filters snapshots data on the DB side to improve performance.
Some tests are removed from test_snapshots.py because their function
implemented on the DB side.

Partial-Implements: blueprint data-filtering-on-the-db-side
Change-Id: I1c3e47a4f3780de54d7a5920f463e26cc8b7bcc2
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/objects/snapshot.py
cinder/tests/unit/api/v1/stubs.py
cinder/tests/unit/api/v1/test_snapshots.py
cinder/tests/unit/api/v2/stubs.py
cinder/tests/unit/api/v2/test_snapshots.py
cinder/tests/unit/objects/test_snapshot.py
cinder/tests/unit/test_db_api.py
cinder/volume/api.py