Open Bug 1347230 Opened 8 years ago Updated 2 years ago

Investigate ensuring we return correct indices from insertTree (and other APIs?) if we hit races when inserting items

Categories

(Toolkit :: Places, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: Gijs, Unassigned)

References

Details

Right now insertTree will always append to the root at which it is inserting. This means user-provided 'index' values are ignored, and we fetch the index at which to insert using a subquery. This means the insert is always correct (ie items won't have identical indices) but there's no way to know from the jsm what the final index was, without querying the database a second time.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.