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

Re: syncrepl consumer locks up (ITS#3263)



I suspect boi_lock of one entry interferes with those of other entries,
since op struct is shared.
Need confirmation on the use of boi_lock when multiple entries are
outstanding. (backend_attribute->backend_group)
Thanks a lot for locating the problem.
- Jong-Hyuk

> --- ./servers/slapd/back-bdb/id2entry.c.orig    Tue Aug  3 21:46:34 2004
> +++ ./servers/slapd/back-bdb/id2entry.c Tue Aug  3 21:49:57 2004
> @@ -386,6 +386,7 @@
>                         if ( op && !boi ) {
>                                 boi = op->o_tmpcalloc(1,sizeof(struct
> bdb_op_info),op->o_tmpmemctx);
>                                 boi->boi_lock = lock;
> +                               boi->boi_bdb = op->o_bd;
>                                 op->o_private = boi;
>                         }