Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-16737

Release sockets as early as possible

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0, 2.5.1, 2.5.2, 3.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.1.1, 4.0.0
    • 5.5.0
    • view-engine
    • Security Level: Public
    • None

    Description

      Especially `stale=false` request can block the responses quite a while, when the updater is running. If during that time the client disconnects, the socket isn't released immediately, but only when the updater is finished.

      This issue is about releasing the socket even before the indexing is finished in case the client hung up.

      Attachments

        Issue Links

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

          Activity

            Assigning the issue to Siri, so he can distribute the work to someone else.

            vmx Volker Mische added a comment - Assigning the issue to Siri, so he can distribute the work to someone else.

            Moving to feature backlog as discussed with Siri

            djp Don Pinto [X] (Inactive) added a comment - Moving to feature backlog as discussed with Siri

            Build couchbase-server-5.5.0-2055 contains couchdb commit 2d7b7d587404e59751badbc7aa793974e05e4ec6 with commit message:
            MB-16737: [couch_index_merger] Perform socket cleanup ...
            https://github.com/couchbase/couchdb/commit/2d7b7d587404e59751badbc7aa793974e05e4ec6

            build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.0-2055 contains couchdb commit 2d7b7d587404e59751badbc7aa793974e05e4ec6 with commit message: MB-16737 : [couch_index_merger] Perform socket cleanup ... https://github.com/couchbase/couchdb/commit/2d7b7d587404e59751badbc7aa793974e05e4ec6
            jeelan.poola Jeelan Poola added a comment - - edited

            Arunkumar Senthilnathan Would be great if you can provide an update on early verification of this MB.

            As discussed earlier, essentially, the goal is, we need to create a test in which we reproduce KV nodes running out of FDs with a Spock build (does not have fix). And same test should pass with a Vulcan build (has fix).

            jeelan.poola Jeelan Poola added a comment - - edited Arunkumar Senthilnathan Would be great if you can provide an update on early verification of this MB. As discussed earlier, essentially, the goal is, we need to create a test in which we reproduce KV nodes running out of FDs with a Spock build (does not have fix). And same test should pass with a Vulcan build (has fix).

            Closing as per the system test, functional test on 5.5.0-2929

            vikas.chaudhary Vikas Chaudhary added a comment - Closing as per the system test, functional test on 5.5.0-2929

            People

              arunkumar Arunkumar Senthilnathan (Inactive)
              vmx Volker Mische
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty