[
https://issues.apache.org/jira/browse/COUCHDB-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424881#comment-13424881
]
Robert Newson commented on COUCHDB-1147:
----------------------------------------
Sean,
Can you describe how to reproduce this?
B.
> Compact fails during copy_doc_attachments
> -----------------------------------------
>
> Key: COUCHDB-1147
> URL: https://issues.apache.org/jira/browse/COUCHDB-1147
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Affects Versions: 1.0.2
> Environment: Windows 7 64bit.
> setup-couchdb-1.0.2_otp_R14B01_spidermonkey_1.8.5
> Reporter: Sean Halliday
> Priority: Critical
>
> [Thu, 28 Apr 2011 20:14:15 GMT] [info] [<0.164.0>] Starting compaction for db
> "common_bff606da77674686a80bb2e30e36654e"
> [Thu, 28 Apr 2011 20:16:51 GMT] [error] [<0.164.0>] ** Generic server
> <0.164.0> terminating
> ** Last message in was {'EXIT',<0.214.0>,
> {{badmatch,
> {[1283840029,1283846979,1283855177,1283863375,
> 1283871573,1283879771,1283887969,1283896167,
>
> 1283904365,1283912563,1283920761,1283928959],
> 96705,96705,
> <<42,124,52,177,182,174,136,194,219,57,6,168,
> 244,223,78,208>>,
> <<42,124,52,177,182,174,136,194,219,57,6,
> 168,244,223,78,208>>}},
> [{couch_db_updater,
> '-copy_doc_attachments/4-fun-0-',4},
> {lists,map,2},
> {couch_db_updater,copy_doc_attachments,4},
> {couch_db_updater,'-copy_docs/4-fun-1-',5},
> {couch_key_tree,map_simple,3},
> {couch_key_tree,map,2},
> {couch_db_updater,'-copy_docs/4-fun-2-',3},
> {lists,map,2}]}}
> ** When Server state == {db,<0.159.0>,<0.164.0>,<0.214.0>,
> <<"1304021647143480">>,<0.145.0>,<0.166.0>,
> {db_header,5,325603,0,
> {3077248982,{49901,247680}},
> {3077250765,297581},
> {3077296518,[]},
> 0,nil,nil,1000},
> 325603,
> {btree,<0.145.0>,
> {3077248982,{49901,247680}},
> #Fun<couch_db_updater.7.10053969>,
> #Fun<couch_db_updater.8.35220795>,
> #Fun<couch_btree.5.124754102>,
> #Fun<couch_db_updater.9.107593676>},
> {btree,<0.145.0>,
> {3077250765,297581},
> #Fun<couch_db_updater.10.30996817>,
> #Fun<couch_db_updater.11.96515267>,
> #Fun<couch_btree.5.124754102>,
> #Fun<couch_db_updater.12.117826253>},
> {btree,<0.145.0>,
> {3077296518,[]},
> #Fun<couch_btree.0.83553141>,
> #Fun<couch_btree.1.30790806>,
> #Fun<couch_btree.2.124754102>,nil},
> 325603,
> <<"common_bff606da77674686a80bb2e30e36654e">>,
>
> "../var/lib/couchdb/common_bff606da77674686a80bb2e30e36654e.couch",
> [],[],nil,
> {user_ctx,null,[],undefined},
> nil,1000,
> [before_header,after_header,on_file_open],
> false}
> ** Reason for termination ==
> ** {{badmatch,{[1283840029,1283846979,1283855177,1283863375,1283871573,
> 1283879771,1283887969,1283896167,1283904365,1283912563,
> 1283920761,1283928959],
> 96705,96705,
> <<42,124,52,177,182,174,136,194,219,57,6,168,244,223,78,208>>,
>
> <<42,124,52,177,182,174,136,194,219,57,6,168,244,223,78,208>>}},
> [{couch_db_updater,'-copy_doc_attachments/4-fun-0-',4},
> {lists,map,2},
> {couch_db_updater,copy_doc_attachments,4},
> {couch_db_updater,'-copy_docs/4-fun-1-',5},
> {couch_key_tree,map_simple,3},
> {couch_key_tree,map,2},
> {couch_db_updater,'-copy_docs/4-fun-2-',3},
> {lists,map,2}]}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira