Bug #62234
openTransition worker fail to read object data
0%
Description
Hi,
In version 16.2.13, I accidentally met this bug when testing the transition. I think this bug can happen often, so it needs to be fixed soon.
Steps to reproduce:
1. Create a bucket
2. Enable bucket versioning
3. Put the first object
4. Add a lifecycle for transition to another storage class and wait for the object to be transitioned
5. Put the second object the same key as the first one
6. Now this 2nd object will not able to transition, and radosgw returns this log:
2023-07-31T13:58:58.920+0700 7f7587c2d700 0 lifecycle: ERROR: fail to read object data, ret = -2
2023-07-31T13:58:58.921+0700 7f7587c2d700 0 lifecycle: ERROR: remove_expired_obj :huybucket11[32da3b2b-a290-45cd-a5a8-7dce58eac7ea.4635.1]):20mfile[xUIk7WbMZeMC5F0Tll5ZVtMou5tnn1I] (2) No such file or directory wp_thrd: 2, 1
Bonus: I'm not able to download that object too. But I can remove it by specify its ID