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

[CX] Queue queries during initial connection/rollback

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • feature-backlog
    • CBAS DP2
    • analytics
    • None

    Description

      As of DP2, Queries on connected bucket can be run even when the shadows are going through initial sync phase or handling rollbacks.

      This behavior is dangerous as it may lead to incorrect results by large margins. Moreover, there is no warning of any kind that the results contain missing information.

      To better handle this, DP3 will not allow queries to run on connected buckets during the initial connection phase and during handling of rollbacks. Instead, queries will be queued until initial sync is complete.

       

      How to test this?

      1. Connect a bucket.
      2. Submit a query on the same bucket from another thread.
      3. The query result should not return until the connect statement return.
      4. The query result should be correct as of the connect point in time or later.

       

       

      Attachments

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

        Activity

          People

            Abdullah.Alamoudi Abdullah Alamoudi [X] (Inactive)
            Abdullah.Alamoudi Abdullah Alamoudi [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty