Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2287

ListAppend, MapAdd, QueuePush create short TTL documents

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.15
    • 2.7.22
    • library
    • 1

    Description

      Summary: Using the data structure helper methods and setting the "create" parameter to true DOES create the document, but it has a short expiration time. This was identified with a conversation in this forum post: https://forums.couchbase.com/t/bucket-listsize-error/24440/5

      Repro:

      1. In code, connect to cluster, open a bucket.
      2. In code, call bucket.ListAppend("mylist", new {foo="bar"}, createList: true)
      3. Set a breakpoint or a Thread.Sleep right after that.
      4. Observe the document in the bucket immediately after execution.
      5. Look at the metadata.

      Expected:

      No expiration (there is an overload where you can specify expiration, but it's not being used in step 2 above)

      Actual:

      Expiration (see screenshot)

      Notes:

      I've also attached a short console example.

       

      Attachments

        Issue Links

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

          Activity

            There are no comments yet on this issue.

            People

              jmorris Jeff Morris
              matthew.groves Matthew Groves
              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