I have a database with two design documents and approx 10 data documents. I do a dump from a 0.9 instance on Mac and a load to a 0.9 instance on Ubuntu. During the load the designs docs load just fine but not the data docs. Anyone seen a problem like this? Here is a trace
a) db is dumped NitinBorwankarsComputer:CouchDB-0.5 nitin$ python ./couchdb/tools/dump.py -u nitin -p <passwd> http://localhost:5984/ptest2/ > ~/dl/ptest2.dump3 Dumping document '_design/lucene' Dumping document '_design/vt2' Dumping document 'aabergel' Dumping document 'aacosta' Dumping document 'aaggelis' Dumping document 'aalfaia' Dumping document 'aantunes' Dumping document 'aaraujo' Dumping document 'aaron.harmer' Dumping document 'aaron.sverdlov' Dumping document 'aavger' b) dump is scp'ed to ubuntu host NitinBorwankarsComputer:CouchDB-0.5 nitin$ scp ~/dl/ptest2.dump3 nitin@ <host>:/home/nitin nitin@<host>'s password: ptest2.dump3 100% 405KB 405.1KB/s 00:00 c) login to ubuntu host NitinBorwankarsComputer:CouchDB-0.5 nitin$ ssh -L 6984:localhost:5984 [email protected] nitin@<host>'s password: Linux domU-xx-yy.... 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. [...] Last login: Mon Sep 14 03:10:58 2009 from ...... d) Now do a load nitin@<host> ~$ python ./load.py --input=./ptest2.dump3 http://localhost:5984/ptest3 Loading document '_design/lucene' Loading document '_design/vt2' nitin@<host> ~$ e) note ony two design documents got loaded - just check to be sure nitin@<host> ~$ curl http://localhost:5984/ptest3/_all_docs nitin@<host> ~$ {"total_rows":2,"offset":0,"rows":[ {"id":"_design/lucene","key":"_design/lucene","value":{"rev":"1-4011893983"}}, {"id":"_design/vt2","key":"_design/vt2","value":{"rev":"1-2925171248"}} ]} ???? WTF I repeat this and get the same behavior. Note the data dump file does have the data docs as can bee seen by a tail on the dump file nitin@<host>:~$ tail -20l ptest2.dump3 "unnamed": null } --===============0940826803== Content-Type: application/json MIME-Version: 1.0 Content-ID: aavger ETag: 1-12698794 { "_id": "aavger", "_rev": "1-12698794", "details": { "email": "[email protected]", "firstname": "Apostolos", "lastname": "Avgeropoulos", "middlename": "" }, "npublist": [] } --===============0940826803==-- Note the last doc here is the same as the last doc in the list of docs in the initial "dumped ..." messages from dump.py Nitin Any suggestions ? ------------------------------------------------------------------------------------- Nitin Borwankar [email protected]
