ab6e1fee0c
Right now the DbListCommand retrieves the uuid's of all the elements
passed in as argument. This is an O(n^2) operation so when the number
of elements in a grows it's likely that we get Timeout Exceptions.
Instead of doing this, whenever possible, we'll retrieve all the
elements (from the in-memory replica) and only fetch those who were
passed as arguments avoiding the O(n^2) operation.
NOTE: this cherry pick conflicted because in stable/pike, the commands.py
file was in different location.
Closes-Bug: #1769897
(cherry picked from
|
||
---|---|---|
.. | ||
backend | ||
schema | ||
tests | ||
CHANGES | ||
__init__.py | ||
api.py | ||
constants.py | ||
exceptions.py |