couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Leeds (JIRA)" <>
Subject [jira] Updated: (COUCHDB-650) Add "now" option for ?since parameter on _changes
Date Fri, 12 Feb 2010 02:10:27 GMT


Randall Leeds updated COUCHDB-650:

    Attachment: 0001-add-since-now-option-to-continuous-catch-edge-cases-.patch

This patch adds the requested functionality.

Additionally, I took care of some edge cases while I was in there.

1) ?feed=continuous&descending=true now throws an error
2) numeric ?since will clamp to [0, db update_seq] (makes last_seq sane in the out of range

Adds tests for descending=true conflict and since="now".

> Add "now" option for ?since parameter on _changes
> -------------------------------------------------
>                 Key: COUCHDB-650
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Randall Leeds
>            Priority: Minor
>         Attachments: 0001-add-since-now-option-to-continuous-catch-edge-cases-.patch
> As per a discussion on IRC with mikeal, jan_____, whartung, and rnewson:
> Having _changes?since="now" allows clients to listen to only new changes without making
two requests (one to extract seq from /db, and one _changes).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message