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

Setting certain N1QL query options causes the request to fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.0.0-beta.1
    • 3.0.0-alpha.7
    • None
    • None
    • 1

    Description

      The 'metrics', 'readonly' and 'auto_prepare' N1QL query options are currently passed as strings, but the server expects booleans and complains about it.

      Also, the value of the 'metrics' option needs to be negated, since the Java option is "disable metrics" and the server option is "enable metrics".

      Attachments

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty