Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
2.0-beta
-
Security Level: Public
-
None
Description
Here's what I'm getting when uploading stuff (see below). Steps are easy, just create default bucket and loads docs, when until persisted and load them again (this is where compaction will trigger because we're rewriting values).
[ns_server:error] [2012-04-05 14:58:29] [n_0@127.0.0.1:<0.725.0>:couchbase_compaction_daemon:compact_vbucket:248] Compaction daemon - an error occurred while compacting the database `default/0`: {{badmatch,
eof},
[
,
,
,
,
,
,
,
]}
[error_logger:error] [2012-04-05 14:58:29] [n_0@127.0.0.1:error_logger:ale_error_logger_handler:log_msg:76] Error in process <0.5987.0> on node 'n_0@127.0.0.1' with exit value: {{badmatch,eof},[
[error_logger:error] [2012-04-05 14:58:29] [n_0@127.0.0.1:error_logger:ale_error_logger_handler:log_msg:76] ** Generic server <0.1101.0> terminating
** Last message in was {'EXIT',<0.5987.0>,
{{badmatch,eof},
[{couch_db_updater, '-initial_copy_compact/2-fun-0-',4},
{couch_btree_copy,'-before_leaf_write/2-fun-0-', 4},
{lists,mapfoldl,3},
{couch_btree_copy,before_leaf_write,2},
{couch_btree_copy,flush_leaf,2},
{couch_btree_copy,fold_copy,3},
{couch_btree,stream_kv_node2,8},
{couch_btree,stream_kp_node,7}]}}
** When Server state == {db,<0.1100.0>,<0.1101.0>,<0.5987.0>,
<<"1333662633402976">>,<0.1096.0>,<0.1102.0>,
{db_header,10,8184, <<0,0,0,15,83,123,0,0,0,3,181,105,0,0,0,18,2, 255,255,255,255,174,0,0,0,4,39,8>>, <<0,0,0,16,221,231,0,0,0,3,189,191,0,0,0,18,84>>, <<0,0,0,0,48,46,0,0,0,0,0,87>>, 0,nil,nil},
8184,
{btree,<0.1096.0>,
{1004411, <<0,0,0,18,2,255,255,255,255,174,0,0,0,4,39,8>>, 243049},
#Fun<couch_db_updater.6.130771653>,
#Fun<couch_db_updater.7.49615002>,
#Fun<couch_btree.5.87768349>,
#Fun<couch_db_updater.8.121987883>,1279,true},
{btree,<0.1096.0>,
{1105383,<<0,0,0,18,84>>,245183},
#Fun<couch_db_updater.9.92373376>,
#Fun<couch_db_updater.10.59611190>,
#Fun<couch_db_updater.5.128495946>,
#Fun<couch_db_updater.11.80922176>,1279,true},
{btree,<0.1096.0>,
{12334,<<>>,87},
#Fun<couch_btree.3.88597662>,
#Fun<couch_btree.4.43728093>,
#Fun<couch_btree.5.87768349>,nil,1279,true},
8184,<<"default/0">>,
"/root/src/altoros/moxi/ns_server/couch/0/default/0.couch.1",
[],nil,
{user_ctx,null,[],undefined},
nil,
[before_header,after_header,on_file_open],
[]}
** Reason for termination ==
** {{badmatch,eof},
[{couch_db_updater,'-initial_copy_compact/2-fun-0-',4}
,
,
,
,
,
,
,
]}