CouchDB
  1. CouchDB
  2. COUCHDB-1357

Authentication failure after updating password in user document

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      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.

        Activity

        Filipe Manana created issue -
        Filipe Manana made changes -
        Field Original Value New Value
        Attachment COUCHDB-1357-master.patch [ 12506322 ]
        Filipe Manana made changes -
        Filipe Manana made changes -
        Attachment COUCHDB-1357-master.patch [ 12506322 ]
        Filipe Manana made changes -
        Filipe Manana made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.2 [ 12315198 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Filipe Manana
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development