couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: recovering data from an unfinished compaction db
Date Mon, 24 Sep 2012 13:02:37 GMT
{badmatch,{error,snappy_nif_not_loaded} makes me wonder if this 1.2
installation is even right.

Can someone enlighten me? Is it possible to get this error spuriously?
Does running out of RAM cause erlang to unload NIF's?

B.

On 24 September 2012 13:32, Rudi Benkovic <rudib@whiletrue.com> wrote:
> Hello Robert,
>
> Saturday, September 22, 2012, 2:49:16 PM, you wrote:
>
>> Yup, CouchDB starts from the end of the file and looks backwards until
>> it finds a valid footer, it can take some time if that's a long way
>> from the end. It's not so much that CouchDB is skipping over "random
>> binary data", it just doesn't have any pointers to that area of the
>> file.
>
>> How long as couchdb been seeking backward for a footer? When you say
>> "doesn't recognize it", are you getting an error message?
>
> OK, I left CouchDB 1.2.0 (Windows) running for a good hour on the
> incomplete compaction DB. In the process it consumed all available OS
> memory (12GB), then crashes with an exception. Excerpt from the log
> file (debug priority) attached.
>
> --
> Best regards,
>  Rudi                            mailto:rudib@whiletrue.com

Mime
View raw message