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

Last-Event-ID not working on cluster

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: HTTP Interface
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: