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:
- In code, connect to cluster, open a bucket.
- In code, call bucket.ListAppend("mylist", new {foo="bar"}, createList: true)
- Set a breakpoint or a Thread.Sleep right after that.
- Observe the document in the bucket immediately after execution.
- 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
- is duplicated by
-
NCBC-2272 Creating a list with ListAppend fails
- Resolved