You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DynamoDBSessionInterface relies on DynamoDB to expire outdated sessions through the TTL feature (unless they're explicitly deleted).
Unfortunately the TTL feature is asynchronous and can sometimes take several days to delete an item.
Items with valid, expired TTL attributes may be deleted by the system at any time, typically within a few days of their expiration. You can still update the expired items that are pending deletion, including changing or removing their TTL attributes. While updating an expired item, we recommended that you use a condition expression to make sure the item has not been subsequently deleted. — docs (emphasis mine)
That's why we should only request the item if its expiration time is after the current time.
This can be achieved using a ConditionExpression when calling get_item. (Isn't supported for GetItem)
The text was updated successfully, but these errors were encountered:
The
DynamoDBSessionInterface
relies on DynamoDB to expire outdated sessions through the TTL feature (unless they're explicitly deleted).Unfortunately the TTL feature is asynchronous and can sometimes take several days to delete an item.
That's why we should only request the item if its expiration time is after the current time.
This can be achieved using a(Isn't supported forConditionExpression
when callingget_item
.GetItem
)The text was updated successfully, but these errors were encountered: