documents should not be stored multiple times with the same value under the same index key
Bug #1030947 reported by
Eric Casteleijn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
U1DB |
Fix Released
|
High
|
Eric Casteleijn |
Bug Description
When indexing a document, there are no checks to see if it is already indexed with the same value under the same index key. This leads to the same document showing up multiple times in query results under some conditions. (After indexes are deleted and then new ones created indexing the same fields.)
Related branches
lp:~thisfred/u1db/uniquify-indexes
- Samuele Pedroni: Approve
-
Diff: 70 lines (+27/-0)4 files modifiedsrc/u1db.c (+9/-0)
u1db/backends/dbschema.sql (+1/-0)
u1db/backends/sqlite_backend.py (+3/-0)
u1db/tests/test_backends.py (+14/-0)
Changed in u1db: | |
status: | New → In Progress |
assignee: | nobody → Eric Casteleijn (thisfred) |
importance: | Undecided → High |
milestone: | none → pre-release |
description: | updated |
summary: |
- documents should not be stored multiple times under the same index key + documents should not be stored multiple times with the same value under + the same index key |
description: | updated |
Changed in u1db: | |
status: | In Progress → Fix Committed |
Changed in u1db: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.