Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-844

Documents missing after CouchDB restart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0
    • 1.0.1
    • Database Core
    • None
    • 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

    Description

      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"}

      Attachments

        Activity

          People

            Unassigned Unassigned
            sreuter Sascha Reuter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: