Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StickyTTL should based on LastDecisionCompletedTimestamp #2357

Closed
longquanzheng opened this issue Aug 7, 2019 · 1 comment
Closed

StickyTTL should based on LastDecisionCompletedTimestamp #2357

longquanzheng opened this issue Aug 7, 2019 · 1 comment
Labels
refactoring Code refactoring

Comments

@longquanzheng
Copy link
Collaborator

Right now we took a shot-cut to use LastUpdateTimestamp. It is inacurate. In some case we may update mutableState without any decision(ex. ActivityHeartbeat). In that case, updating LastUpdateTimestamp will make the StickyTTL not expire. It could be a bug if a customer relying on StickyTTL to dispatch tasks.

@longquanzheng
Copy link
Collaborator Author

longquanzheng commented Dec 30, 2019

I think this's still valid if we still have stickTTL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code refactoring
Projects
None yet
Development

No branches or pull requests

2 participants