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

no continuous replication with doc_ids param

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11.1, 0.11.2, 1.0, 1.0.1, 1.0.2, 1.0.3
    • 1.1, 1.2
    • None
    • None
    • Regular Contributors Level (Easy to Medium)

    Description

      I investigated more on this problem :
      http://markmail.org/message/bazjkhmwcrdp3kcf

      I've found that that continuous replication isn't possible with "doc_ids" parameter. I confirmed this reading the code :

      DocIds = couch_util:get_value(<<"doc_ids">>, PostProps, nil),

      ... snip ...

      case DocIds of
      List when is_list(List) ->
      % Fast replication using only a list of doc IDs to replicate.
      % Replication sessions, checkpoints and logs are not created
      % since the update sequence number of the source DB is not used
      % for determining which documents are copied into the target DB.

      ..... snip
      _ ->
      % Replication using the _changes API (DB sequence update numbers).

      Why can't we have continuous replication with "doc_ids" ?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: