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

blevesearch/sear should be able to handle multiple documents to accommodate query's parallelization factor

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      The goal is to get rid of the lock introduced with - http://review.couchbase.org/c/n1fty/+/158589

      Recently discovered the query parameter - for concurrent access during verify/eval. This defaults to 1. Contention for this new lock will kick in only if the query parallelization is greater than 1.

      I can think of 3 options at the moment ..

      • Leave the locking in place to serialize evaluation (undesirable).
      • We can update the NewVerify API for query to share the parallelization factor - so we'll need to update the sear index to be able to hold that many documents at a time (against what sear brings to the table).
      • Thirdly, based on the parallelization factor - set up that many sear indexes for evaluation.

       

      Attachments

        Issue Links

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

          Activity

            People

              abhinav Abhi Dangeti
              abhinav Abhi Dangeti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  PagerDuty