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

Last-Event-ID not working on cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.0.0
    • HTTP Interface
    • None

    Description

      req = CouchDB.request("GET", "/" + db_name + "/_changes?feed=eventsource&timeout=0&since=0",

      • {"headers": {"Accept": "text/event-stream", "Last-Event-ID": "2"}}); + {"headers": {"Accept": "text/event-stream", "Last-Event-ID": JSON.stringify(JSON.parse(req.responseText).results[1].seq)}});

      filling Last-Event-ID with a "complex" Seq yields an error

      from changes.js test case

      Attachments

        Activity

          People

            kxepal Alexander Shorin
            sebastianrothbucher Sebastian Rothbucher
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: