Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make thanos bucket web refresh forever ignoring errors
This is unfortunate since ideally the loop should handle errors that can be retried and bubble up unexpected errors. The bucket iterator fails with a remote read error while a new block is being uploaded and over the last couple of days, this program crashed multiple times with the same error. See logs for example. Ideally this patch should solve it. ``` level=error ts=2019-06-19T09:22:22.810872915Z caller=bucket.go:411 err="meta.json bkt get for 01DDQ6D62GFFHQKYCJ7TCHP307: The specified key does not exist." msg="Failed to downloaded block metadata" level=error ts=2019-06-19T09:22:22.81573321Z caller=runutil.go:88 msg="function failed. Retrying in next tick" err="meta.json bkt get for 01DDQ6D62GFFHQKYCJ7TCHP307: The specified key does not exist." level=error ts=2019-06-19T09:23:09.970878178Z caller=main.go:194 msg="running command failed" err="meta.json bkt get for 01DDQ6D62GFFHQKYCJ7TCHP307: The specified key does not exist." ```
- Loading branch information