Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-38343

Inserting existing key with invalid doc_size returns 'ValueTooLargeException'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • Cheshire-Cat
    • couchbase-bucket
    • Enterprise Edition 7.0.0 build 1569
      Java SDK 3.0
      Core IO 2.0
    • Untriaged
    • Centos 64-bit
    • No

    Description

      Build: 7.0.0-1569

      Scenario:

      1. Two node cluster, Couchbase bucket(replica=1)
      2. Insert key 'test-doc-0' with valid doc_size (Insert succeeds)
      3. Insert same key with invalid doc_size (21MB)

      Observation:

      Step#3 results in 'ValueTooLargeException'

      Expected behavior:

      Since the key is already existing in the server, we should get 'DocumentExistsException' irrespective of the value of the document.

      Attaching doc_create.pcapngfor further debugging.

      Attachments

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

        Activity

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ashwin.govindarajulu Ashwin Govindarajulu
            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