Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.9
-
None
-
None
-
Microsoft windows Xp Professional version 2002 Service Pack 2
-
Regular Contributors Level (Easy to Medium)
Description
hi,
i am trying to use compact option from futon..
E.g. http://localhost:5984/compacttest/_compact
Response :
..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,
=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,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}
,
=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,
Unknown macro: {#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},
{14297,2},
{14413,{2,0}},
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},
{btree,<0.14360.0>,nil, #Fun<couch_btree.0.23070627>, #Fun<couch_btree.1.117278773>, #Fun<couch_btree.2.112258129>,nil}
#Fun<couch_db_updater.9.123705295>,
#Fun<couch_db_updater.10.30133661>,
#Fun<couch_btree.5.112258129>,
#Fun<couch_db_updater.11.51444615>},
,
{user_ctx,null,[]},
3,<<"compacttest">>,
"../usr/couch_data/compacttest.couch.compact",[],
[],nil,
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,[]},
{couch_db_updater,copy_compact,3}
nil,1000},
[],0}}},
[,
{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}
]}]]}}
- When Server state == {file_descriptor,prim_file,
Attachments
Issue Links
- duplicates
-
COUCHDB-86 (CouchDB on Windows) compaction can not be done.
- Closed