dotnet / dotnet/orleans

TimeToLive is not working as expected

Open
#7,982 2 comments 0 reactions 1 assignee Claimed by @ReubenBond View on GitHub
Needs: investigation 🔍
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
14h 42m
Merged PRs (30d)
354

Description

Hi Team,
I have configured TimeToLive property as per below and expecting a new column to be added in my dyanamodb table.

.AddDynamoDBGrainStorage(name: "AgentStateStorage",
configureOptions: options =>
{
options.TableName = orleansConfiguration.Environment + "-" + orleansConfiguration.DynamoTableName;
options.TimeToLive = TimeSpan.FromMinutes(10);
})

After running the code, column name as "GrainTtl" not added into the respective table. Please refer below screenshot. Please suggest any other configuration needed for this to work.

![image](https://user-images.githubusercontent.com/100188279/190387121-48185c6a-6c7b-4c67-9dbd-b23f83429b52.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.