I've implemented read & write lock mechanisms for the DB files for use
with libhtdig.

Currently they are in the calling routines...

I've got the logic worked out.. I can either send you the logic or patch
together something in the EXEs.....

Thanks

On Fri, 21 Nov 2003, Christopher Murtagh wrote:

>
>  In some of my tests, I came across this error:
>
> WordDB: CDB___memp_cmpr_read: unable to uncompress page at pgno = 402
> WordDB: PANIC: Input/output error
> DB_RUNRECOVERY: Fatal error, run database recovery
>
> and I realize that this might be due to the method in which I'm doing my
> indexes and purges. I'm using database triggers to index or purge new
> pages, and they could concievably happen concurrently. Does htdig and
> htpurge use file locking to prevent problems, or should I be sure to
> control this and make sure that concurrent indexes can't happen?
>
> Cheers,
>
> Chris
>
> --
> Christopher Murtagh
> Enterprise Systems Administrator
> ISR / Web Communications Group
> McGill University
> Montreal, Quebec
> Canada
>
> Tel.: (514) 398-3122
> Fax:  (514) 398-2017
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> ht://Dig Developer mailing list:
> [EMAIL PROTECTED]
> List information (subscribe/unsubscribe, etc.)
> https://lists.sourceforge.net/lists/listinfo/htdig-dev
>

Neal Richter
Knowledgebase Developer
RightNow Technologies, Inc.
Customer Service for Every Web Site
Office: 406-522-1485




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to