This is a multi-part message in MIME format.
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Full_Name: Hallvard B Furuseth
> Version: RE24 + mdb.master 2d0b362b6f2b1247eb693008a39efaf341f15e82
> OS: Linux x86_64
> Submission from: (NULL) (188.8.131.52)
> Submitted by: hallvard
> test043-delta-syncrepl crashes in RE24 + mdb.master + this patch.
> A sub-cursor sees a regular (non-sub) page which has P_SUB set,
> in dirty_list. The flag comes from the fake page in cursor_put.
The flag is being propagated when the page grows and turns into a real page.
Fixed by this simple patch.
Obviously this and the preceding line can be reduced to
mp->mp_flags = fp->mp_flags ^ (P_DIRTY|P_SUBP|P_FAKE);
With P_FAKE removed if your patch isn't kept.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/