Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-1903

Drain in-flight BLIP requests before closing a database

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • Deuterium
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • 5

    Description

      The unit test written in CBG-1878 to make clients reconnect for a replication that the underlying database has been closed for has reliably triggered the race condition we previously saw in test teardown where a database can still be in use from in-flight BLIP messages during a close.

      We should attempt to drain in-flight requests before closing the database - by stopping further BLIP requests from being accepted, like we do with HTTP requests.

      Attachments

        Issue Links

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

          Activity

            People

              The One The One
              ben.brooks Ben Brooks
              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