[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: HEAD back-bdb failure



Quanah Gibson-Mount wrote:



--On Wednesday, November 24, 2004 8:58 PM -0800 Howard Chu <hyc@symas.com> wrote:

For some reason, slapadd is aborting at 65545 transactions. I vaguely
remember we ran into this once before, but have no idea what the details
were. RE22 seems to be just fine.

time ./slapd -Ta -f slapd.conf -l ldif5
slapadd: could not add entry dn="uid=joey,ou=accounts,dc=symas,dc=com"
(line=2500105): txn_aborted! Invalid argument (22)
8.785u 31.949s 0:54.67 74.4%    0+0k 0+0io 0pf+0w


I did a quick diff of RE_22 and the BDB 4.3 patches I had downloaded and found that idl.c's changes never made it into RE_22. Passed this info on to Howard.

Yep, followed some bad advice from the BDB 4.3 Upgrade documentation.
 http://www.sleepycat.com/docs/ref/upgrade.4.3/cput.html

The cursor->c_put(,,DB_CURRENT) doesn't appear to overwrite data elements as documented.

Reverted the bad patch in HEAD and all is well. Since the patch never went into RE22 there was no problem there.

--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support