couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sascha Reuter (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-844) Documents missing after CouchDB restart
Date Sat, 07 Aug 2010 22:04:17 GMT

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

Sascha Reuter commented on COUCHDB-844:
---------------------------------------


Feedback by mail didn't quote the questions... so, here we go....


|| Is it possible either of you ran compaction as the last thing you did before restarting?

Never ran any compaction in this environment ...


|| Sascha: did you lose all documents written during those 2 weeks or only some?

All.. pretty sure...


|| Sascha, what is your TZ?

CEST


|| Also, can you run this command in the `erl` shell?

$ erl
Erlang R14A (erts-5.8) [source] [rq:1] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8  (abort with ^G)
1> httpd_util:rfc1123_date(erlang:localtime()).
"Sat, 07 Aug 2010 22:00:06 GMT"
2>



Hope it helps guys...


> 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.


Mime
View raw message