couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COUCHDB-179) CouchDB crashes when GETting view from a legacy DB
Date Sat, 21 Nov 2009 17:14:40 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adam Kocoloski closed COUCHDB-179.
----------------------------------

    Resolution: Won't Fix

We broke backwards compatibility in the 0.9.0 release.  Reading legacy DBs requires a dump
and reimport

> CouchDB crashes when GETting view from a legacy DB
> --------------------------------------------------
>
>                 Key: COUCHDB-179
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-179
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.9
>         Environment: uname -a
> Linux dyc-ucbdesk 2.6.24-22-generic #1 SMP Mon Nov 24 19:35:06 UTC 2008 x86_64 GNU/Linux
> erl
> Erlang (BEAM) emulator version 5.6.4 [source] [64-bit] [smp:2] [async-threads:0] [hipe]
[kernel-poll:true]
> CouchDB
> Apache CouchDB 0.9.0a727978-incubating (LogLevel=info) is starting.
>            Reporter: Ulises Cervino Beresi
>
> Working with a legacy DB (which works just fine with version r725308) makes beam.smp
use up all the memory until it is killed by the kernel.
> Log:
> couchdb@dyc-ucbdesk:/opt/couchdb-trunk-dk-fix$ ./bin/couchdb -i
> Erlang (BEAM) emulator version 5.6.4 [source] [64-bit] [smp:2] [async-threads:0] [hipe]
[kernel-poll:true]
> Eshell V5.6.4  (abort with ^G)
> 1> Apache CouchDB 0.9.0a727978-incubating (LogLevel=info) is starting.
> [info] [<0.67.0>] Starting process for: action
> Apache CouchDB has started. Time to relax.
> 1> SyntaxError: syntax error
> Crash dump was written to: erl_crash.dump
> eheap_alloc: Cannot allocate 1167696400 bytes of memory (of type "heap").
> Aborted
> It looks like it tries to recompute the view on GETting it.
> View
> index/by_timestamp
> map:
>   function(doc) {
>     emit(doc.timestamp, null);
>   }
> DB size is .5G, avg doc size is 3M, doc structure:
> {
>  'text': 'long string ... really long',
>  'id': 'my IDS',
>  'timestamp': 'date' // e.g. 2008-12-13T03:51:57.732618
> }
> default.ini and local.ini for latest couchdb are not changed at all except for the DB
dir location.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message