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

Async view query hangs under strange conditions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 2.2.0
    • Views
    • Security Level: Public
    • None

    Description

      Here is a example of code to reproduce the bug:

      asyncbucket.get("29035")
                      .map((JsonDocument t3) -> {
                          ViewQuery query = ViewQuery.from("random", "view");
       
                          asyncbucket
                          .query(query)
                          .flatMap(AsyncViewResult::rows)
                          .count()
                          .toBlocking()
                          .single();
                          return null;
                      })
                      .count()
                      .toBlocking()
                      .single()
      

      (do not look at how hugly the code is, it's just to highlight the bug.

      Attachments

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

        Activity

          People

            daschl Michael Nitschinger
            cambierr Romain Cambier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty