CouchDB
  1. CouchDB
  2. COUCHDB-1147

Compact fails during copy_doc_attachments

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.0.2
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
      None
    • Environment:

      Windows 7 64bit. setup-couchdb-1.0.2_otp_R14B01_spidermonkey_1.8.5

    • Skill Level:
      Dont Know

      Description

      [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>},

          Unknown macro: {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}

          ]}

        Activity

        Hide
        Robert Newson added a comment -

        Sean,

        Can you describe how to reproduce this?

        B.

        Show
        Robert Newson added a comment - Sean, Can you describe how to reproduce this? B.
        Sean Halliday created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Sean Halliday
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development