incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerald Richter - ECOS <rich...@ecos.de>
Subject view_indexer fails / cryptic error messages
Date Fri, 22 Mar 2013 05:16:55 GMT
Hi,

 
I am using couchdb for over two years now and I really love it, but I hate it’s error messages.
If there is one thing I would wish that should be in the next release, than it would be: human
readable error messages. I know that writing good error messages is nothing that programmer
likes to do. We like more to implement great new features, but for the daily work having a
good diagnostic message is of so much value and saves so much time…

 
So in addition to the many hour I spend in the past, trying to decrypt an error message of
couchdb, here is one that really gives me no clue what it is about and I am giving up. Neither
starting couchdb with debug output, nor looking at the output of my viewserver, shows anything
irregular. Basically a view index is rebuild and it crashes somewhere in the middle of the
process with the error message below.  I hope somebody on the list, could shed some light
what’s going on here.

 
Any help would be greatly appreciated

 
Thanks & Regards

 
Gerald

 
=ERROR REPORT==== 22-Mar-2013::06:10:53 ===

Error in process <0.890.0> with exit value: {function_clause,[{couch_view_updater,'-view_insert_doc_query_results/5-fun-0-',[{},{[],[]},<<0
bytes>>,{view,0,229488,0,[<<5 bytes>>],<<53 bytes>>,{btree,<0.881.0>,{31298052,{7667,[]},9402798},#Fun<couch_btree.3.71804109>,#Fun<couch_btree.4.115144917>,#Fun<couch_view.less_json_ids.2>,#Fun<couch_view_group.10.75611305>,snappy},[],[]}]},{lists,foldl,3},{couch_view_updater,view_insert_doc_query_results,5},{couch_view_updater...


 
[error] [<0.880.0>] ** Generic server <0.880.0> terminating 

** Last message in was {'EXIT',<0.884.0>,

                        {function_clause,

                         [{couch_view_updater,

                           '-view_insert_doc_query_results/5-fun-0-',

                           [{},

                            {[],[]},

                            <<>>,

                            {view,0,229488,0,

                             [<<"index">>],

                             <<"\\&CouchDB::AppServ::Docclass::map_doctype
#version=19">>,

                             {btree,<0.881.0>,

                              {31298052,{7667,[]},9402798},

                              #Fun<couch_btree.3.71804109>,

                              #Fun<couch_btree.4.115144917>,

                              #Fun<couch_view.less_json_ids.2>,

                              #Fun<couch_view_group.10.75611305>,snappy},

                             [],[]}]},

                          {lists,foldl,3},

                          {couch_view_updater,view_insert_doc_query_results,5},

                          {couch_view_updater,'-do_writes/6-fun-0-',2},

                          {couch_view_updater,do_writes,6}]}}

** When Server state == {group_state,undefined,<<"ebosdb">>,

                         {"/var/lib/couchdb",<<"ebosdb">>,

                          {group,

                           <<90,90,237,193,108,102,135,29,30,98,254,76,111,169,

                             215,129>>,

                           nil,<<"_design/Docclass">>,<<"perl">>,[],

                           [{view,0,0,0,

                             [<<"index">>],

                             <<"\\&CouchDB::AppServ::Docclass::map_doctype
#version=19">>,

                             nil,[],[]}],

                           {[]},

                           nil,0,0,nil,nil}},

                         {group,

                          <<90,90,237,193,108,102,135,29,30,98,254,76,111,169,

                            215,129>>,

                          <0.881.0>,<<"_design/Docclass">>,<<"perl">>,[],

                          [{view,0,229488,0,

                            [<<"index">>],

                            <<"\\&CouchDB::AppServ::Docclass::map_doctype
#version=19">>,

                            {btree,<0.881.0>,

                             {31298052,{7667,[]},9402798},

                             #Fun<couch_btree.3.71804109>,

                             #Fun<couch_btree.4.115144917>,

                             #Fun<couch_view.less_json_ids.2>,

                             #Fun<couch_view_group.10.75611305>,snappy},

                            [],[]}],

                          {[]},

                          {btree,<0.881.0>,

                           {31168185,[],503419},

                           #Fun<couch_btree.3.71804109>,

                           #Fun<couch_btree.4.115144917>,

                           #Fun<couch_btree.5.93788370>,nil,snappy},

                          230018,0,nil,nil},

                         <0.884.0>,nil,true,

                         [{{<0.831.0>,#Ref<0.0.0.16930>},637633}],

                         <0.883.0>,false}

** Reason for termination == 

** {function_clause,

       [{couch_view_updater,'-view_insert_doc_query_results/5-fun-0-',

            [{},

             {[],[]},

             <<>>,

             {view,0,229488,0,

                 [<<"index">>],

                 <<"\\&CouchDB::AppServ::Docclass::map_doctype #version=19">>,

                 {btree,<0.881.0>,

                     {31298052,{7667,[]},9402798},

                     #Fun<couch_btree.3.71804109>,

                     #Fun<couch_btree.4.115144917>,

                     #Fun<couch_view.less_json_ids.2>,

                     #Fun<couch_view_group.10.75611305>,snappy},

                 [],[]}]},

        {lists,foldl,3},

        {couch_view_updater,view_insert_doc_query_results,5},

        {couch_view_updater,'-do_writes/6-fun-0-',2},

        {couch_view_updater,do_writes,6}]}

 
 
 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message