Allow to set maxTTL to zero for new collections

Description

Right now max_expiry field is not optional for public and core APIs, and zero get discarded and not sent to the server.

 

Maybe we should allow it to be set to zero? Today raised this question.

Environment

None

Release Notes Description

None

Activity

Show:

Brett Lawson November 21, 2023 at 9:48 PM

There is a separate discussion happening related to handling of maxTTL where memcached was not distinguishing between unset and 0 as well, leading to it being impossible to override the max-ttl with no-ttl at the collection level. I believe the outcome of that fix will lead to some SDK modifications which should be rolled into this. We should have more information later this week.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Sprint

Story Points

Fix versions

Labels

Components

Priority

Instabug

Open Instabug

Sentry

Zendesk Support

Created November 21, 2023 at 9:12 PM
Updated May 22, 2024 at 4:06 PM
Resolved May 21, 2024 at 5:33 PM
Instabug