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

Dynamo Tracker Get Table Failure #6231

Closed
rgstephens opened this issue Jul 16, 2020 · 0 comments · Fixed by #6233
Closed

Dynamo Tracker Get Table Failure #6231

rgstephens opened this issue Jul 16, 2020 · 0 comments · Fixed by #6233
Assignees
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@rgstephens
Copy link
Contributor

Rasa version: 1.10.8

Issue:
The DynamoTrackerStore calls list_tables()["TableNames"] here to determine of the tracker store exists. By default, this method returns only the first 100 tables so the call can fail to find the tracker store table and then it will try and create a table that already exists.

Solution:
Use the call client.describe_table(TableName=table_name) instead of list_tables to determine if the tracker store already exists.

@rgstephens rgstephens added type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors. area:rasa-oss 🎡 Anything related to the open source Rasa framework labels Jul 16, 2020
@rgstephens rgstephens self-assigned this Jul 17, 2020
@rgstephens rgstephens linked a pull request Jul 17, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant