Opened 15 years ago

Closed 15 years ago

#392 closed defect (fixed)

patch for bug in ModifiedPostlist::skip_deletes

Reported by: Rich Lane Owned by: Olly Betts
Priority: normal Milestone: 1.0.15
Component: Backend-Chert Version: SVN trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

ModifiedPostlist::skip_deletes doesn't skip over deletes when the deleted docid doesn't exist in the postlist. This can occur when a term is added and deleted in the same transaction. This affects both Flint and Chert. I've attached a patch (with testcase) that fixes the problem.

Attachments (1)

modifiedpostlistdeletes.patch (2.4 KB ) - added by Rich Lane 15 years ago.

Download all attachments as: .zip

Change History (3)

by Rich Lane, 15 years ago

comment:1 by Olly Betts, 15 years ago

Milestone: 1.0.15
Status: newassigned

Thanks, applied to trunk as r13215.

The flint part needs backporting, so setting milestone:1.0.15.

comment:2 by Olly Betts, 15 years ago

Resolution: fixed
Status: assignedclosed

Backported to 1.0 branch as r13219.

Note: See TracTickets for help on using tickets.