Topic is ignored in NbApi.get_all
Bug #1696142 reported by
Dima Kuznetsov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DragonFlow |
New
|
Medium
|
Unassigned |
Bug Description
All of our DB drivers ignore topic for get_all_keys and get_all_entries.
Additionally, NbApi calls those functions with topic and expects the results to be topic-specific.
This is problematic, since get_all is called by our sync facilities for each topic that is needed locally.
First of all we should do filtering for the returned entries, to ensure correctness.
Second, we should see how we implement better querying for each driver (or in a generic manner). Pulling all the objects of the table kills performance in large scale.
The above is not true for Redis DB driver.
To post a comment you must log in.
Currently set to Medium, since this is technically an optimisation issue.