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

beyond_log_depth in migration logs #42

Open
darrenklein opened this issue Mar 25, 2020 · 3 comments
Open

beyond_log_depth in migration logs #42

darrenklein opened this issue Mar 25, 2020 · 3 comments

Comments

@darrenklein
Copy link
Contributor

While running migrations against a production instance of DDB, I noticed a few "beyond_log_depth" "warnings" in the log line:

{"message":"2020-3-25 0:59:0 UTC [Ecto dynamo info] Ecto.Adapters.DynamoDB.Migration.poll_table: table","attributes":{"Ecto.Adapters.DynamoDB.Migration.poll_table-table":{"table_name":"organization","table":{"TableThroughputModeSummary":{"TableThroughputMode":"PAY_PER_REQUEST","LastUpdateToPayPerRequestDateTime":1544560696.543},"TableStatus":"ACTIVE","TableSizeBytes":10334,"TableName":"organization","TableId":"foo","TableArn":"arn:aws:dynamodb:us-east-1:foo:table/organization","ProvisionedThroughput":{"WriteCapacityUnits":0,"ReadCapacityUnits":0,"NumberOfDecreasesToday":0,"LastIncreaseDateTime":1539723196.249,"LastDecreaseDateTime":1539724712.593},"KeySchema":["beyond_log_depth"],"ItemCount":60,"GlobalSecondaryIndexes":["beyond_log_depth"],"CreationDateTime":1513293032.764,"BillingModeSummary":{"LastUpdateToPayPerRequestDateTime":1544560696.543,"BillingMode":"PAY_PER_REQUEST"},"AttributeDefinitions":["beyond_log_depth","beyond_log_depth"]}}}}

This isn't a critical issue, but would be nice to fix, if possible. The docs at https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html should provide a little insight into the data structures, and how much further the log depth needs to extend.

@alhambra1
Copy link
Contributor

alhambra1 commented Mar 25, 2020 via email

@darrenklein
Copy link
Contributor Author

It's certainly low-priority - but do you mean that we might not need this specific issue addressed, or do mean that we might not need to be logging that level of detail?

@alhambra1
Copy link
Contributor

alhambra1 commented Mar 25, 2020 via email

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

No branches or pull requests

2 participants