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

Re: syncrepl modify base entry hangs (ITS#3230)



m.d.t.evans@qmul.ac.uk wrote:
> Full_Name: Martin Evans
> Version: 2.2.14
> OS: Solaris8
> URL: 
> Submission from: (NULL) (217.42.114.74)
> 
> 
> If you try to modify the base entry with syncrepl refresh & persist setup. The
> master slapd hangs and is unresponsive afterwards.
> 
> This can be reproduced with the following change to test018:
> 
> --- test018-syncreplication-persist.0   Sat Jul 10 14:02:37 2004
> +++ test018-syncreplication-persist     Sat Jul 10 14:02:45 2004
> @@ -119,6 +119,11 @@
>   
>  $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \
>         $TESTOUT 2>&1 << EOMODS
> +dn: o=University of Michigan,c=US
> +changetype: modify
> +replace: description
> +description: The replaced description.
> +
>  dn: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of
> Michigan, c=US
>  changetype: modify
>  add: drink
> 
> Then run the tests as normal.

This hang does not occur for me with the current CVS HEAD. We have just 
revised some of the back-bdb locking strategy. If you can, please test 
the code from HEAD.

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