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

[BP] FTS - Incomplete Query timeout handling for index aliases

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • No

    Description

      Looks like the query timeout was never implemented or handled correctly with index aliases. The current implementation fails to cancel queries upon the expiry of the given timeout value in query when fired against an index alias.

      With index aliases, we are not using the correct api which takes a cancellable context. Hence the user given timeout value is never taken further to the remote/local partitions and those will assume a timeout value of zero which means “no timeout”.

      This prevents any timeout/ expiry based cancellation of queries to leave the possibility of orphan/stale queries handles.

      Fixing this certainly can help to avoid the query handle leaks as well as put a threshold on the server resource usages by strictly respecting any the query latency SLAs given as query timeouts.

      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
              Sreekanth Sivasankaran Sreekanth Sivasankaran (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty