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

Re: Playing with MMR in HEAD



So,

If I start con2 up and then the pro/con, they die after a while with:

lt-slapd: encode.c:346: ber_put_ostring: Assertion `str != ((void *)0)'
failed.

In:

tests/testrun/{con,con2,pro}

I'm running:

../../../servers/slapd/slapd -F slapd.d/ -h ldap://:9011/ -d 256
../../../servers/slapd/slapd -F slapd.d/ -h ldap://:9012/ -d 256
../../../servers/slapd/slapd -F slapd.d/ -h ldap://:9013/ -d 256

etc.

Complete data:

ftp://ftp.openldap.org/incoming/three_MM.tar.gz

I am just working on a test053-syncrepl-three-multimasters for others to
test.

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/

<quote who="Gavin Henry">
> Also,
>
> With the 3 running slapd instances now, switching a drink attribute caused
> a crash on the con2:
>
> lt-slapd: encode.c:346: ber_put_ostring: Assertion `str != ((void *)0)'
> failed.
> Aborted
>
> I'll collect more complete debugging info as I continue.
>
> Thanks.
>
> --
> Kind Regards,
>
> Gavin Henry.
> Managing Director.
>
> T +44 (0) 1224 279484
> M +44 (0) 7930 323266
> F +44 (0) 1224 824887
> E ghenry@suretecsystems.com
>
> Open Source. Open Solutions(tm).
>
> http://www.suretecsystems.com/
>
> <quote who="Gavin Henry">
>> Hi All,
>>
>> I'm playing with test050, i.e. running it, copying con directory to con2
>> and then starting the original provider and consumer up. Then starting
>> up
>> con2 on ldap://:9013/
>>
>> All fine, then I go about adding a new syncrepl on cn=config and
>> dc=example,dc=com pointing to ldap://:9013/
>>
>> I'm not using LDIF, just messing with JXplorer.
>>
>> Everything worked ok, with a couple of crashes at the point I added a
>> new
>> syncrepl on con2 point to itself.
>>
>> Both pro and con died with:
>>
>> lt-slapd: attr.c:481: attr_merge: Assertion `( nvals == ((void *)0) &&
>> (*a)->a_nvals == (*a)->a_vals ) || ( nvals != ((void *)0) && ( (
>> (*a)->a_vals == ((void *)0) && (*a)->a_nvals == ((void *)0) ) || (
>> (*a)->a_nvals != (*a)->a_vals ) ) )' failed.
>> Aborted
>>
>> I guess I should pay attention more to the order in test050 and timing.
>>
>> Lastly, how do we define test050 to be a multimaster test when there are
>> only two instances of slapd?
>>
>> Is it because we have 2 sycnrepl on cn=config and then another two on
>> the
>> bdb backends? I thought a test for this would include at least 3 running
>> slapd instances?
>>
>> Thanks,
>>
>> Gavin.
>>
>> --
>> Kind Regards,
>>
>> Gavin Henry.
>> Managing Director.
>>
>> T +44 (0) 1224 279484
>> M +44 (0) 7930 323266
>> F +44 (0) 1224 824887
>> E ghenry@suretecsystems.com
>>
>> Open Source. Open Solutions(tm).
>>
>> http://www.suretecsystems.com/
>>
>>
>>
>
>