Skip to content

retry! macro in response_data triggers unnecessary retry for object_exists #444

@rg-atte

Description

@rg-atte

Describe the bug
When using Bucket::object_exists the response_data call will trigger an unnecessary retry with warning logs in case of 404.

To Reproduce
Call Bucket::object_exists for a non-existant path.

Expected behavior
A 404 is not an unexpected result that should be retried in case of object_exists and it causes unnecessary delay and log clutter.

Environment

  • lib version 0.37.0 (checked that 0.37.1 has nothing affecting this functionality)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions