[ 
https://issues.apache.org/jira/browse/COUCHDB-844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896276#action_12896276
 ] 

Lim Yue Chuan commented on COUCHDB-844:
---------------------------------------

I am pretty sure that the database I gave Damien and Chris has not been 
compacted. Its a pretty small database, I can't think of any reason as to why I 
would compact it.

Looking at whats left of my data, I can see revision 1 of some documents I 
created really early in development. So it might have been compacted at some 
point, but not recently before the restart.

I however can recall compacting another database numerous times while trying to 
track down a bug on the builtin reduce functions with Chris 
(https://mail.google.com/mail/?shva=1#inbox/12a47692440730ac). Afraid I can't 
say for sure that I have not lost data from that database as it is a log 
database with mostly randomly generated data, but if I'd to guess, I would say 
that that would be the case (no data loss).

> Documents missing after CouchDB restart
> ---------------------------------------
>
>                 Key: COUCHDB-844
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-844
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.0
>         Environment: Debian Version 5.0.5, Linux *** 2.6.29-xs5.5.0.17 #1 SMP 
> Mon Aug 3 17:37:37 UTC 2009 i686 GNU/Linux, XenServer Guest
>            Reporter: Sascha Reuter
>            Priority: Critical
>
> After a CouchDB restart, recently added/changed documents+designdocuments 
> (min. 2 weeks timeline!) are missing and cant be accessed trough REST Calls / 
> Futon. 
> All documents that are still available trought REST/Futon only exist in old 
> revisions.
> All documents/revisions can be found doing a manual search (less/egrep/...) 
> in the datafile (/var/lib/couchdb/<database>.couch)
> Example:
> strings dtap.couch | grep -i "226b2e6c-24b7-4336-92c7-257abf923b11"
> $226b2e6c-24b7-4336-92c7-257abf923b11h
> $226b2e6c-24b7-4336-92c7-257abf923b11l
> $226b2e6c-24b7-4336-92c7-257abf923b11l
> $226b2e6c-24b7-4336-92c7-257abf923b11l
> $226b2e6c-24b7-4336-92c7-257abf923b11l
> $226b2e6c-24b7-4336-92c7-257abf923b11l
> $226b2e6c-24b7-4336-92c7-257abf923b11l
> $226b2e6c-24b7-4336-92c7-257abf923b11l
> $226b2e6c-24b7-4336-92c7-257abf923b11l
> $226b2e6c-24b7-4336-92c7-257abf923b11h
> $226b2e6c-24b7-4336-92c7-257abf923b11h
> curl http://localhost:5984/dtap/226b2e6c-24b7-4336-92c7-257abf923b11
> {"error":"not_found","reason":"missing"}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to