Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-1245

Some Expiry test failing with Document with the given id not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3.1
    • None
    • None
    • None

    Description

      Total failures - 2*5 = 10

      ExpiryTest.checkExpiryBeyond2038
      ExpiryTest.checkExpiryBeyond30Days

      When we tried to perform upsert operation in above tests, they are failing with below exception:

      Document with the given id not found {"completed":true,"coreId":"0xe0e05e800000001","idempotent":true,"lastChannelId":"0E0E05E800000001/000000001F86489D","lastDispatchedFrom":"192.168.240.3:41588","lastDispatchedTo":"172.23.111.128:11210","requestId":207904,"requestType":"SubdocGetRequest","retried":0,"serverDuration":155,"service":{"bucket":"default","collection":"_default","documentId":"55ffbd72-52f5-4f5f-905e-2bf432c2e03a","errorCode":{"description":"Not Found","name":"KEY_ENOENT"},"opaque":"0x32c06","scope":"_default","type":"kv","vbucket":287},"status":"NOT_FOUND","timeoutMs":30000,"timings":{"dispatchMicros":1366,"totalDispatchMicros":1366,"totalServerMicros":0,"totalMicros":1683,"serverMicros":0}}
      

       
      For example, in checkExpiryBeyond30Days, we sent below request:

      upsert {
        location {
          specific {
            collection {
              bucket_name: "default"
              scope_name: "_default"
              collection_name: "_default"
            }
            id: "55ffbd72-52f5-4f5f-905e-2bf432c2e03a"
          }
        }
        content {
          convert_to_json: "{\"created\":true,\"age\":12,\"foo\":\"bar\"}"
        }
        options {
          expiry {
            relativeSecs: 946080000
          }
        }
      }
      return_result: true 

      Attachments

        For Gerrit Dashboard: JSCBC-1245
        # Subject Branch Project Status CR V

        Activity

          People

            jared.casey Jared Casey
            aaliya.haque Aaliya Haque
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty