Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-719

SDK3: subdoc error "only a single xattr key may be accessed at the time" creates an UNKNOWN error

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.0.0-beta.2
    • None
    • None
    • None

    Description

      This code replicates it:

      JsonObject obj = JsonObject.create()
              .put("v", v)
              .put("u", clientUuid)
              .put("t", LocalDateTime.now().toString());
       
      return collection.reactive().mutateIn(PERSISTED_LOG_DOC_ID,
              Arrays.asList(
                      MutateInSpec.increment("count", 1).xattr().createPath(),
                      MutateInSpec.arrayAppend("logs", obj),
                      MutateInSpec.upsert("logs[-1].c", "${Mutation.CAS}").xattr().expandMacro()),
              MutateInOptions.mutateInOptions().upsertDocument(true))
      
      

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            graham.pople Graham Pople
            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