Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1029

Long running prepared query observables may get released early

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      Peek for retry of prepared may cause query result to wait until error observable is complete before copying result and emitting it, which can cause the query rows and other response observables be released due to auto release timeouts. If the query completes within 2 seconds, there will be no impact otherwise the auto release timeout should be set to query response time.

      see https://forums.couchbase.com/t/n1ql-query-with-adhoc-false-query-runs-into-illegalstateexception-the-content-of-this-observable-is-already-released/11004

      Attachments

        Issue Links

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

          Activity

            There are no comments yet on this issue.

            People

              subhashni Subhashni Balakrishnan (Inactive)
              subhashni Subhashni Balakrishnan (Inactive)
              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