reuse categories
Bug #1507666 reported by
Kyle Nitzsche
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scope-aggregator |
Fix Released
|
High
|
Kyle Nitzsche |
Bug Description
To prevent duplicate category IDs, we currently timestamp the cat ID. It turns out that the dash never forgets categories, so this is wasteful.
Also, this approach will not work well with upcoming changes to the dash in which category IDs are expected to be more persistent (so that on user entered searches the dash can modify the qml model and the categories that were present will be reused appropriately).
Therefore, we need a better approach to category IDs, probably as follows:
instead of timestamping the cat id, use tokens like:
TYPE:FULLYQUALI
All agg scopes will need to be rebased using this before the planned changed to the dash described above.
Related branches
lp:~knitzsche/scope-aggregator/persistent_cat_ids_bug1507666
- Penk Chen: Pending requested
- Gary.Wang: Pending requested
-
Diff: 354 lines (+48/-43)2 files modifiedCMakeLists.txt (+1/-1)
src/query.cpp (+47/-42)
To post a comment you must log in.
Here is the related bug about improved dash updates: https:/ /bugs.launchpad .net/unity- scope-mediascan ner/+bug/ 1238979