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

2.0.0.beta hangs on 2nd query

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 2.0-beta
    • None
    • Security Level: Public
    • None
    • Client is Windows 8.1, server is CentOS 6 running 3.0 beta.

    Description

      The following code hangs on the 2nd query.

      CouchbaseCluster cluster = CouchbaseCluster.fromConnectionString("couchbase://192.168.1.75");
      Bucket bucket = cluster.openBucket("trade-unittest", "blah").toBlocking().first();
      bucket
      .query(ViewQuery.from("devOnly", "allDocs"))
      .flatMap(result -> result.rows())
      .toBlocking()
      .forEach(row -> logger.log(Level.INFO, row.id()));
      bucket
      .query(ViewQuery.from("devOnly", "allDocs"))
      .flatMap(result -> result.rows())
      .toBlocking()
      .forEach(row -> logger.log(Level.INFO, row.id()));
      cluster.disconnect();

      Attachments

        Issue Links

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

          Activity

            People

              daschl Michael Nitschinger
              sean88colonello Sean Colonello
              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