6ace54c260

In order to retrieve shares with filters pertaining to separate tables (shares, instances, metadata, etc), we need to perform joined loads of those respective database tables as necessary. After the join, the query cannot select entities due to Github issue #6253 - The following is an error when the pattern is used: sqlalchemy.exc.ArgumentError: Query has only expression-based entities - can't find property named "share_metadata". sqlalchemy 1.4 has a performance improvement that delays query processing [2] and disallows this pattern of usage; we can use a query.count() instead. In another instance, we can perform joins selectively only if asked for. [1] https://github.com/sqlalchemy/sqlalchemy/issues/625 [2] https://docs.sqlalchemy.org/en/14/changelog/migration_14.html#many-core-and-orm-statement-objects-now-perform-much-of-their-construction-and-validation-in-the-compile-phase Change-Id: I8aa196c171bbc224cec06f517ea22c4e91cbc06a Closes-Bug: #1926399 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Team and repository tags
MANILA
You have come across an OpenStack shared file system service. It has identified itself as "Manila." It was abstracted from the Cinder project.
- Wiki: https://wiki.openstack.org/wiki/Manila
- Developer docs: https://docs.openstack.org/manila/latest/
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
git clone https://opendev.org/openstack/manila
For developer information please see HACKING.rst
You can raise bugs here https://bugs.launchpad.net/manila
Python client
https://opendev.org/openstack/python-manilaclient
- Documentation for the project can be found at:
https://docs.openstack.org/manila/latest/
- Release notes for the project can be found at:
https://docs.openstack.org/releasenotes/manila/
- Source for the project:
https://opendev.org/openstack/manila
- Bugs:
https://bugs.launchpad.net/manila
- Blueprints:
https://blueprints.launchpad.net/manila
- Design specifications are tracked at:
Description
Languages
Python
99.3%
Shell
0.7%