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

handle deleted db event for db

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • 0.10, 0.11, 2.0.0
    • None
    • None
    • None
    • Regular Contributors Level (Easy to Medium)

    Description

      Currently when a db is deleted and someone is listenning on _changes feed (continuous or longpoll), couchdb don't close the connection (sending last chunk) and instead send an error status. This patch fix this and ad db_deleted:true on the last line. Spotted by kocolosk on irc.

      Attachments

        1. fix_changes.patch
          4 kB
          Benoit Chesneau

        Activity

          People

            Unassigned Unassigned
            benoitc Benoit Chesneau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: