Re: [BUG] bearerbox segfault (no store file)

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Centrium GmbH
Message-ID <[email protected]>
On Wednesday 23 July 2003 14:54, Stipe Tolj wrote:
> Alexander Malysh wrote:
> > segfault is fixed and commited! Here are some notes from me about
> > store-file...
>
> ok, thanks.
>
> > Store must be always initialized, even if no store file defined,
> > because store create message id's and timestamp for all sms's
> > handled in bearerbox! If no store file defined in config then no
> > files will be opened and no cleanup thread started.
>
> why isn't this done in the smscconn abstraction layer itself?!

because store-file uses its own counter/timestamp. so is id always unique in 
store-file, otherwise we must have global message counter in the bearerbox 
(e.g. we must have it while loading our store file after starting again , see 
store_load).



>
> > I believe store file must be mandatory parameter, because
> > otherwise all queued messages in bearerbox are loss while shutdown
> > or restart !
> >
> > What is you opinion about changing store-file option from optional to
> > mandatory ?
>
> -1, the user decides if he want's that feature (and hence also
> bottleneck it's system) or not.
>
> Stipe
>
> [email protected]
> -------------------------------------------------------------------
> Wapme Systems AG
>
> Vogelsanger Weg 80
> 40470 Düsseldorf
>
> Tel: +49-211-74845-0
> Fax: +49-211-74845-299
>
> E-Mail: [email protected]
> Internet: http://www.wapme-systems.de
> -------------------------------------------------------------------
> wapme.net - wherever you are

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___________________________________________

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___________________________________________

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.