Topic is ignored in NbApi.get_all

Bug #1696142 reported by Dima Kuznetsov
10
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.

Revision history for this message
Omer Anson (omer-anson) wrote :

Currently set to Medium, since this is technically an optimisation issue.

Changed in dragonflow:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.