couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay jagdish Pawaskar (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-571) Not Able To Use Compact (getting Error)
Date Wed, 18 Nov 2009 16:00:39 GMT
Not Able To Use Compact (getting Error)
---------------------------------------

                 Key: COUCHDB-571
                 URL: https://issues.apache.org/jira/browse/COUCHDB-571
             Project: CouchDB
          Issue Type: Bug
          Components: Build System
    Affects Versions: 0.9
         Environment: Microsoft windows Xp Professional version 2002 Service Pack 2 
            Reporter: Ajay jagdish Pawaskar


hi,
i am trying to use compact option  from futon..
         E.g. http://localhost:5984/compacttest/_compact
                Response : {"ok":true} 
..but nothing happens..when i look into erlang log i saw this error


[info] [<0.13864.0>] 127.0.0.1 - - 'POST' /compacttest/_compact 202
[info] [<0.14340.0>] Starting compaction for db "compacttest"
[error] [emulator] Error in process <0.14359.0> with exit value: {{badmatch,{ok,{{db,nil,<0.14359.0>,nil,<<16
bytes>>,<0.14360.0>,<0.14362.0>,{db_header,1,3,{4118,9978},{14413,{2,0}},{14297,2},nil,0,nil,nil,1000},{stream,<0.14361.0>,<0.14360.0>},{btree,<0.14360.0>,{14413,{2,0}},#Fun<couch_db_updater.6.65324130>,#Fun<couch_db_updater.7.128706042>,#Fun<couch_db_updater.5.93235209>,#Fun<couch_db_updater.8.66861196>},{btree,<0.14360.0>,{14297,2},#Fun<couch_db_updater.9.123705295>,#Fun<couch_db_updater.10.30133661>,#Fun<couch_btree.5.112258129>,#Fun<couch_db_updater.11.51444615>},{btree,<0.14360.0>,nil,#Fun<couch_btree.0.23070627>,#Fun<couch_btree.1.117278773>,#Fun<couch_btree.2.112258129>,nil},3,<<11
bytes>>,"../usr/couch_data/compacttest.couch.compact",[],[],nil,{user_ctx,null,[]},nil...




=ERROR REPORT==== 18-Nov-2009::21:26:05 ===
Error in process <0.14359.0> with exit value: {{badmatch,{ok,{{db,nil,<0.14359.0>,nil,<<16
bytes>>,<0.14360.0>,<0.14362.0>,{db_header,1,3,{4118,9978},{14413,{2,0}},{14297,2},nil,0,nil,nil,1000},{stream,<0.14361.0>,<0.14360.0>},{btree,<0.14360.0>,{14413,{2,0}},#Fun<couch_db_updater.6.65324130>,#Fun<couch_db_updater.7.128706042>,#Fun<couch_db_updater.5.93235209>,#Fun<couch_db_updater.8.66861196>},{btree,<0.14360.0>,{14297,2},#Fun<couch_db_updater.9.123705295>,#Fun<couch_db_updater.10.30133661>,#Fun<couch_btree.5.112258129>,#Fun<couch_db_updater.11.51444615>},{btree,<0.14360.0>,nil,#Fun<couch_btree.0.23070627>,#Fun<couch_btree.1.117278773>,#Fun<couch_btree.2.112258129>,nil},3,<<11
bytes>>,"../usr/couch_data/compacttest.couch.compact",[],[],nil,{user_ctx,null,[]},nil...


[error] [<0.14360.0>] ** Generic server <0.14360.0> terminating 
** Last message in was {'EXIT',<0.14359.0>,
                        {{badmatch,
                          {ok,
                           {{db,nil,<0.14359.0>,nil,<<"1258559765390001">>,
                             <0.14360.0>,<0.14362.0>,
                             {db_header,1,3,
                              {4118,9978},
                              {14413,{2,0}},
                              {14297,2},
                              nil,0,nil,nil,1000},
                             {stream,<0.14361.0>,<0.14360.0>},
                             {btree,<0.14360.0>,
                              {14413,{2,0}},
                              #Fun<couch_db_updater.6.65324130>,
                              #Fun<couch_db_updater.7.128706042>,
                              #Fun<couch_db_updater.5.93235209>,
                              #Fun<couch_db_updater.8.66861196>},
                             {btree,<0.14360.0>,
                              {14297,2},
                              #Fun<couch_db_updater.9.123705295>,
                              #Fun<couch_db_updater.10.30133661>,
                              #Fun<couch_btree.5.112258129>,
                              #Fun<couch_db_updater.11.51444615>},
                             {btree,<0.14360.0>,nil,
                              #Fun<couch_btree.0.23070627>,
                              #Fun<couch_btree.1.117278773>,
                              #Fun<couch_btree.2.112258129>,nil},
                             3,<<"compacttest">>,
                             "../usr/couch_data/compacttest.couch.compact",[],
                             [],nil,
                             {user_ctx,null,[]},
                             nil,1000},
                            [],0}}},
                         [{couch_db_updater,copy_compact,3},
                          {couch_db_updater,start_copy_compact,1}]}}
** When Server state == {file_descriptor,prim_file,{#Port<0.5969>,1496}}
** Reason for termination == 
** {{badmatch,{ok,{{db,nil,<0.14359.0>,nil,<<"1258559765390001">>,<0.14360.0>,
                       <0.14362.0>,
                       {db_header,1,3,
                                  {4118,9978},
                                  {14413,{2,0}},
                                  {14297,2},
                                  nil,0,nil,nil,1000},
                       {stream,<0.14361.0>,<0.14360.0>},
                       {btree,<0.14360.0>,
                              {14413,{2,0}},
                              #Fun<couch_db_updater.6.65324130>,
                              #Fun<couch_db_updater.7.128706042>,
                              #Fun<couch_db_updater.5.93235209>,
                              #Fun<couch_db_updater.8.66861196>},
                       {btree,<0.14360.0>,
                              {14297,2},
                              #Fun<couch_db_updater.9.123705295>,
                              #Fun<couch_db_updater.10.30133661>,
                              #Fun<couch_btree.5.112258129>,
                              #Fun<couch_db_updater.11.51444615>},
                       {btree,<0.14360.0>,nil,#Fun<couch_btree.0.23070627>,
                              #Fun<couch_btree.1.117278773>,
                              #Fun<couch_btree.2.112258129>,nil},
                       3,<<"compacttest">>,
                       "../usr/couch_data/compacttest.couch.compact",[],[],
                       nil,
                       {user_ctx,null,[]},
                       nil,1000},
                   [],0}}},
    [{couch_db_updater,copy_compact,3},
     {couch_db_updater,start_copy_compact,1}]}


=ERROR REPORT==== 18-Nov-2009::21:26:05 ===
** Generic server <0.14360.0> terminating 
** Last message in was {'EXIT',<0.14359.0>,
                        {{badmatch,
                          {ok,
                           {{db,nil,<0.14359.0>,nil,<<"1258559765390001">>,
                             <0.14360.0>,<0.14362.0>,
                             {db_header,1,3,
                              {4118,9978},
                              {14413,{2,0}},
                              {14297,2},
                              nil,0,nil,nil,1000},
                             {stream,<0.14361.0>,<0.14360.0>},
                             {btree,<0.14360.0>,
                              {14413,{2,0}},
                              #Fun<couch_db_updater.6.65324130>,
                              #Fun<couch_db_updater.7.128706042>,
                              #Fun<couch_db_updater.5.93235209>,
                              #Fun<couch_db_updater.8.66861196>},
                             {btree,<0.14360.0>,
                              {14297,2},
                              #Fun<couch_db_updater.9.123705295>,
                              #Fun<couch_db_updater.10.30133661>,
                              #Fun<couch_btree.5.112258129>,
                              #Fun<couch_db_updater.11.51444615>},
                             {btree,<0.14360.0>,nil,
                              #Fun<couch_btree.0.23070627>,
                              #Fun<couch_btree.1.117278773>,
                              #Fun<couch_btree.2.112258129>,nil},
                             3,<<"compacttest">>,
                             "../usr/couch_data/compacttest.couch.compact",[],
                             [],nil,
                             {user_ctx,null,[]},
                             nil,1000},
                            [],0}}},
                         [{couch_db_updater,copy_compact,3},
                          {couch_db_updater,start_copy_compact,1}]}}
** When Server state == {file_descriptor,prim_file,{#Port<0.5969>,1496}}
** Reason for termination == 
** {{badmatch,{ok,{{db,nil,<0.14359.0>,nil,<<"1258559765390001">>,<0.14360.0>,
                       <0.14362.0>,
                       {db_header,1,3,
                                  {4118,9978},
                                  {14413,{2,0}},
                                  {14297,2},
                                  nil,0,nil,nil,1000},
                       {stream,<0.14361.0>,<0.14360.0>},
                       {btree,<0.14360.0>,
                              {14413,{2,0}},
                              #Fun<couch_db_updater.6.65324130>,
                              #Fun<couch_db_updater.7.128706042>,
                              #Fun<couch_db_updater.5.93235209>,
                              #Fun<couch_db_updater.8.66861196>},
                       {btree,<0.14360.0>,
                              {14297,2},
                              #Fun<couch_db_updater.9.123705295>,
                              #Fun<couch_db_updater.10.30133661>,
                              #Fun<couch_btree.5.112258129>,
                              #Fun<couch_db_updater.11.51444615>},
                       {btree,<0.14360.0>,nil,#Fun<couch_btree.0.23070627>,
                              #Fun<couch_btree.1.117278773>,
                              #Fun<couch_btree.2.112258129>,nil},
                       3,<<"compacttest">>,
                       "../usr/couch_data/compacttest.couch.compact",[],[],
                       nil,
                       {user_ctx,null,[]},
                       nil,1000},
                   [],0}}},
    [{couch_db_updater,copy_compact,3},
     {couch_db_updater,start_copy_compact,1}]}
[error] [<0.14360.0>] {error_report,<0.22.0>,
    {<0.14360.0>,crash_report,
     [[{pid,<0.14360.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {{badmatch,
                    {ok,{{db,nil,<0.14359.0>,nil,<<"1258559765390001">>,
                             <0.14360.0>,<0.14362.0>,
                             {db_header,1,3,
                                 {4118,9978},
                                 {14413,{2,0}},
                                 {14297,2},
                                 nil,0,nil,nil,1000},
                             {stream,<0.14361.0>,<0.14360.0>},
                             {btree,<0.14360.0>,
                                 {14413,{2,0}},
                                 #Fun<couch_db_updater.6.65324130>,
                                 #Fun<couch_db_updater.7.128706042>,
                                 #Fun<couch_db_updater.5.93235209>,
                                 #Fun<couch_db_updater.8.66861196>},
                             {btree,<0.14360.0>,
                                 {14297,2},
                                 #Fun<couch_db_updater.9.123705295>,
                                 #Fun<couch_db_updater.10.30133661>,
                                 #Fun<couch_btree.5.112258129>,
                                 #Fun<couch_db_updater.11.51444615>},
                             {btree,<0.14360.0>,nil,
                                 #Fun<couch_btree.0.23070627>,
                                 #Fun<couch_btree.1.117278773>,
                                 #Fun<couch_btree.2.112258129>,nil},
                             3,<<"compacttest">>,
                             "../usr/couch_data/compacttest.couch.compact",[],
                             [],nil,
                             {user_ctx,null,[]},
                             nil,1000},
                         [],0}}},
                [{couch_db_updater,copy_compact,3},
                 {couch_db_updater,start_copy_compact,1}]},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {initial_call,{couch_file,init,['Argument__1']}},
       {ancestors,[<0.14359.0>]},
       {messages,[]},
       {links,[#Port<0.5969>,<0.14362.0>]},
       {dictionary,[]},
       {trap_exit,true},
       {status,running},
       {heap_size,987},
       {stack_size,23},
       {reductions,763}],
      [{neighbour,
           [{pid,<0.14362.0>},
            {registered_name,[]},
            {initial_call,{couch_ref_counter,init,['Argument__1']}},
            {current_function,{gen_server,loop,6}},
            {ancestors,[<0.14359.0>]},
            {messages,
                [{'DOWN',#Ref<0.0.0.63591>,process,<0.14359.0>,
                     {{badmatch,
                          {ok,{{db,nil,<0.14359.0>,nil,<<"1258559765390001">>,
                                   <0.14360.0>,<0.14362.0>,
                                   {db_header,1,3,
                                       {4118,9978},
                                       {14413,{2,0}},
                                       {14297,2},
                                       nil,0,nil,nil,1000},
                                   {stream,<0.14361.0>,<0.14360.0>},
                                   {btree,<0.14360.0>,
                                       {14413,{2,0}},
                                       #Fun<couch_db_updater.6.65324130>,
                                       #Fun<couch_db_updater.7.128706042>,
                                       #Fun<couch_db_updater.5.93235209>,
                                       #Fun<couch_db_updater.8.66861196>},
                                   {btree,<0.14360.0>,
                                       {14297,2},
                                       #Fun<couch_db_updater.9.123705295>,
                                       #Fun<couch_db_updater.10.30133661>,
                                       #Fun<couch_btree.5.112258129>,
                                       #Fun<couch_db_updater.11.51444615>},
                                   {btree,<0.14360.0>,nil,
                                       #Fun<couch_btree.0.23070627>,
                                       #Fun<couch_btree.1.117278773>,
                                       #Fun<couch_btree.2.112258129>,nil},
                                   3,<<"compacttest">>,
                                   "../usr/couch_data/compacttest.couch.compact",
                                   [],[],nil,
                                   {user_ctx,null,[]},
                                   nil,1000},
                               [],0}}},
                      [{couch_db_updater,copy_compact,3},
                       {couch_db_updater,start_copy_compact,1}]}}]},
            {links,[<0.14360.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,runnable},
            {heap_size,233},
            {stack_size,9},
            {reductions,54}]}]]}}





-- 
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