Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-2210

RESTListener synchronous response may hang

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.5
    • 3.0
    • LiteCore
    • Security Level: Public
    • None
    • Jianmin 53
    • 5

    Description

      For the POST request, _replicate, there are two modes, continuous and one-shot.

      When "continuous == true", we respond asynchronous, that is, responding with OK right away indicating the request is received.

      When "continuous == false", we pause and wait for the replication to complete (Stopped) and then respond. In this case, "ws:" may hang.

      To repro, refers to CBL-2209.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            Build couchbase-lite-c-3.0.0-108 contains couchbase-lite-core commit 5d9539f with commit message:
            Handle client connections in separate threads. CBL-2210 (#1224)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-c-3.0.0-108 contains couchbase-lite-core commit 5d9539f with commit message: Handle client connections in separate threads. CBL-2210 (#1224)

            Build couchbase-lite-net-3.0.0-102 contains couchbase-lite-core commit 5d9539f with commit message:
            Handle client connections in separate threads. CBL-2210 (#1224)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-net-3.0.0-102 contains couchbase-lite-core commit 5d9539f with commit message: Handle client connections in separate threads. CBL-2210 (#1224)

            Build couchbase-lite-java-3.0.0-170 contains couchbase-lite-core commit 5d9539f with commit message:
            Handle client connections in separate threads. CBL-2210 (#1224)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-java-3.0.0-170 contains couchbase-lite-core commit 5d9539f with commit message: Handle client connections in separate threads. CBL-2210 (#1224)

            Build couchbase-lite-android-3.0.0-170 contains couchbase-lite-core commit 5d9539f with commit message:
            Handle client connections in separate threads. CBL-2210 (#1224)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-android-3.0.0-170 contains couchbase-lite-core commit 5d9539f with commit message: Handle client connections in separate threads. CBL-2210 (#1224)

            Build couchbase-lite-net-3.0.0-105 contains couchbase-lite-core commit 5d9539f with commit message:
            Handle client connections in separate threads. CBL-2210 (#1224)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-net-3.0.0-105 contains couchbase-lite-core commit 5d9539f with commit message: Handle client connections in separate threads. CBL-2210 (#1224)

            People

              jianmin.zhao Jianmin Zhao
              jianmin.zhao Jianmin Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty