couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: Crash when loading view
Date Mon, 28 May 2012 14:32:02 GMT
hm, you're quite sure you were on the right node?

On 28 May 2012 15:23, Martin Hewitt <martin@thenoi.se> wrote:
> Hi Robert,
>
> I can load that _changes feed no problem, I get 200 OK with the full response.
>
> Martin
>
> On 28 May 2012, at 15:18, Robert Newson wrote:
>
>> http://host:5986/shards%2f44444444-55555554%2frock_events.1334876515/_changes
>>
>> B.
>>
>> On 28 May 2012 15:00, Martin Hewitt <martin@thenoi.se> wrote:
>>> Ah, no, sorry, my mistake, I read the _changes feed for the whole db.
>>>
>>> Loading the _changes feed for that shard gives me:
>>>
>>> {
>>> error: "not_found",
>>> reason: "no_db_file"
>>> }
>>>
>>> Martin
>>>
>>> On 28 May 2012, at 14:57, Robert Newson wrote:
>>>
>>>> You specifically read the changes feed for
>>>> shards/44444444-55555554/rock_events.1334876515 on the node that
>>>> logged the error to completion?
>>>>
>>>> B.
>>>>
>>>> On 28 May 2012 14:54, Martin Hewitt <martin@thenoi.se> wrote:
>>>>> Hi Robert,
>>>>>
>>>>> Oddly, even though I can't read ERLang stack traces, I thought that might
be the problem, but, sadly, each node has 1.4TB of free disk space and has about 20GB of free
memory.
>>>>>
>>>>> We're using CentOS 6.2, Linux 2.6.32-220.7.1.el6.x86_64 x86_64, the /opt/
partition is formatted as ext4, CPU is Intel i7-2600 CPU @ 3.40GHz.
>>>>>
>>>>> I can read the _changes feed without error.
>>>>>
>>>>> Martin
>>>>>
>>>>> On 28 May 2012, at 14:42, Robert Newson wrote:
>>>>>
>>>>>> That looks like file corruption to me. CouchDB is attempting to walk
>>>>>> the by_seq tree to update your new view and finds it cannot decode
>>>>>> what it's reading from your database. What OS/filesystem/hardware
is
>>>>>> this? Have you previously run out of disk space on the machine in
>>>>>> question? Anything else you can think that might be relevant?
>>>>>>
>>>>>> See if you can successfully read the _changes feed for that database.
>>>>>>
>>>>>> B.
>>>>>>
>>>>>> On 28 May 2012 14:27, Martin Hewitt <martin@thenoi.se> wrote:
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I've built and processed a new view, but whenever I try and call
it, I
>>>>>>> get the following exception:
>>>>>>>
>>>>>>> https://gist.github.com/2815566
>>>>>>>
>>>>>>> This is a new view, but it's an adaptation of an existing view
which
>>>>>>> works without error.
>>>>>>>
>>>>>>> Not sure if it's a bug in my view or what, but any help would
be
>>>>>>> appreciated!
>>>>>>>
>>>>>>> This bug happened on my BigCouch install, but I don't think it's
a BigCouch error, but I could be wrong.
>>>>>>>
>>>>>>> I'm running BigCouch 0.4.0 and therefore CouchDB 1.1.1 (which
I know is not current).
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Martin
>>>>>
>>>
>

Mime
View raw message