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

Authentication failure after updating password in user document

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.2
    • None
    • None

    Description

      From the report at the users mailing list:

      http://s.apache.org/9OG

      Seems like after updating the password in a user doc, the user is not able to login with the new password unless Couch is restarted. Sounds like a caching issue.
      The only case of getting the cache consistent with the _users database content is if the _users database processes crash and after the crash user documents are updated. The cache daemon is ignoring the database crash.

      The following patch updates the daemon to monitor the _users database and crash (letting the supervisor restart it) if the database process crashes.
      Etap test included.

      This might be related to COUCHDB-1212.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fdmanana Filipe David Borba Manana
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: