e032c13bfb
share snap list, Fuzzy query by name or description is supported, but the current implementation is first get all the shares, then In the API layer, the for loop is used to achieve fuzzy matching, if the num of shares is big, It will seriously affect the speed of fuzzy matching.Therefore, we should let the database do the matching to speed up the query. Moving the pagination params (limit, offset, sorting) to the database layer for snapshot list, to optimize query speed. Closes-Bug:#1881865 Partial-Bug:#1831094 Change-Id: I283e78c9e7c2dd626d94cf6c1b01d4e2f9ae8097
8 lines
275 B
YAML
8 lines
275 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixed `bug #1881865 <https://bugs.launchpad.net/manila/+bug/1881865>`_
|
|
Added generic fuzzy matching logic to the database layer, This logic is
|
|
applied to query share snapshot list, This will greatly improve the speed
|
|
of paging fuzzy queries.
|