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
msg="table has exceeded the retention period" table=loki_index_18585
msg="deleting table" table=loki_index_18585
msg="unexpected directories in loki_index_18585 folder, not touching them" directories=[loki_index_18585/]
Describe the bug
Indexes stored in s3 are not deleted with the following error output to the table manager log.
To Reproduce
Probably occurs when the index store to s3.
My configuration is below. I am using s3 compatible storage.
Expected behavior
The table manager should delete indexes in s3.
Environment:
What seems to be the cause
I think the value of the name variable needs to be changed from
index_18577
toindex_18577/
.https://github.com/grafana/loki/blob/v2.0.0/pkg/storage/stores/shipper/table_client.go#L51
Without the addition of
/
,output.Contents
would be empty.https://github.com/cortexproject/cortex/blob/v1.5.0/pkg/chunk/aws/s3_storage_client.go#L304-L314
The text was updated successfully, but these errors were encountered: