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

Replication is broken when database name has "/" and cluster is configured

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
      None

      Description

      When CouchDB host is configured as standalone server when i can execute command

      curl -s -S -X POST http://127.0.0.1:5984/_replicate -H 'Content-Type: application/json' -H 'Accept: application/json, text/javascript' --data-binary '

      {"source":"http://xxx.xxx.xxx.xxx:5984/account%2f32%2fc2%2f83a70fb3146e584c4743c557b1df","target":"account/32/c2/83a70fb3146e584c4743c557b1df","continuous":false,"create_target":true}

      '

      And then get responce like
      {"ok":true,"session_id":"a25fa8ed55c970f3ec6dc7e3f641d515","source_last_seq":"424-g1AAAALzeJyt0DsKwkAQBuDFCAqeQBu9gGGziTGdEU9hpbMvYtwklY2N3kRvojfRm8R9BOxESJoZGGY-hl8hhIaZx9GEVSeWcZoe4TzHga8qBopXBRxKpXd6gOi0rus88yAp9GDAAYdEyp-X_8B0pitdNbZv7SiUEkC0t1Nj7xp7Y20COIIA2tt7Y18ae2xtDAJosGxtl31d0VU3zd-Mv3a5sDgRZNGRf3f-w_hb978QnErWkf90_uv7fywII4x25L-db_MfuXyA8ZD_zj__ADLK8AQ","replication_id_version":3,"history":[

      {"session_id":"a25fa8ed55c970f3ec6dc7e3f641d515","start_time":"Sat, 26 Nov 2016 13:51:02 GMT","end_time":"Sat, 26 Nov 2016 13:51:25 GMT","start_last_seq":0,"end_last_seq":"424-g1AAAALzeJyt0DsKwkAQBuDFCAqeQBu9gGGziTGdEU9hpbMvYtwklY2N3kRvojfRm8R9BOxESJoZGGY-hl8hhIaZx9GEVSeWcZoe4TzHga8qBopXBRxKpXd6gOi0rus88yAp9GDAAYdEyp-X_8B0pitdNbZv7SiUEkC0t1Nj7xp7Y20COIIA2tt7Y18ae2xtDAJosGxtl31d0VU3zd-Mv3a5sDgRZNGRf3f-w_hb978QnErWkf90_uv7fywII4x25L-db_MfuXyA8ZD_zj__ADLK8AQ","recorded_seq":"424-g1AAAALzeJyt0DsKwkAQBuDFCAqeQBu9gGGziTGdEU9hpbMvYtwklY2N3kRvojfRm8R9BOxESJoZGGY-hl8hhIaZx9GEVSeWcZoe4TzHga8qBopXBRxKpXd6gOi0rus88yAp9GDAAYdEyp-X_8B0pitdNbZv7SiUEkC0t1Nj7xp7Y20COIIA2tt7Y18ae2xtDAJosGxtl31d0VU3zd-Mv3a5sDgRZNGRf3f-w_hb978QnErWkf90_uv7fywII4x25L-db_MfuXyA8ZD_zj__ADLK8AQ","missing_checked":106,"missing_found":106,"docs_read":106,"docs_written":106,"doc_write_failures":0}

      ]}

      But if CouchDB node is joined to cluster same command cannot be executed.
      CouchDB not retrun any responce

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              safarov Sergey Safarov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: