Hello,
a quick look over the pua_db.c file shows that dbf.use_table(...) is not
used before doing the queries. That is required for db_cluster. Perhaps
someone that is able to test the module can add the fix quickly -- I
cannot do it for the next few days.
Cheers,
Daniel
On 9/27/12 4:58 PM, Juha Heinanen wrote:
> Peter Dunkley writes:
>
>> >From a quick look at the code this could happen if the table name or
>> length was a bad pointer.
> peter,
>
> i didn't change table names when i turned on cluster. i just changed
> this:
>
> modparam("pua", "db_url", "cluster://pres_serv_cluster")
>
> crash happens on timer before presence server has got any requests.
>
> without db_cluster, presence works fine. have you tried presence with
> db_cluster?
>
> -- juha
>
> _______________________________________________
> sr-dev mailing list
> sr-dev@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev