-
Notifications
You must be signed in to change notification settings - Fork 5
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
Objects count mismatches during listing & upon migration on follower site #29
Comments
@saif-0987 thank you for reporting the issue. I marked it as a high-priority bug and will try to reproduce and fix it asap. |
@saif-0987 unfortunately, i was not able to reproduce the issue. For example, is there are chance that chorus user don't have permissions to read some of the objects, or is there any objects with zero size? Can you please check if there any errors in chorus worker logs or is there any similarities about skipped objects? You can find missing objects with rclone check command. |
@arttor, thank you for your response. We used the warp tool to generate the objects that are stored in both flat bucket and on prefixes/folders, we also pushed some of the objects using s3cmd. Unfortunately we could not able to see any errors in chorus worker logs. Please let us know if you need any insight; we would be happy to help. Regards, |
@saif-0987 thank you. Can you please try to check missing objects with rclone? rclone check <src>:bkt1 <dest>:bkt1 --size-only --missing-on-dst --error --one-way |
@arttor Thanks. We executed the above command and it seems no difference between the source and destination. But in our case:
|
now it is really strange. Are you using the same credentials in chorus and rclone? Because if both tools using the same credentials and saying that buckets are equal, this means that not synced objects from source rgw are probalby not available for this user. |
@arttor Yes, we are using the same credentials for both |
@saif-0987 can you please try again with v0.5.5 release? |
@arttor Thanks for the response. We will try with v0.5.5 release and update. |
@arttor We have tried with https://github.com/clyso/chorus/releases/tag/v0.5.5 release, but we still encountered discrepancies in object counts. However, this time we observed that the data listed by chorus accurately reflected on the follower site, whereas previously there were inconsistencies in this as well. Follower Site: |
@saif-0987 unfortunately i am still not able to reproduce this issue. Is it possible to find which objects were not synced? |
@saif-0987 s3cmd multipart s3://bkt1 If you delete uncompleted uploads from the source, then object and byte counts should became the same in |
@arttor Thanks for your support. It appears that we have successfully resolved the issue. After deleting the multipart objects from the source site, we checked the bucket size and the number of objects. Now there is a discrepancy of only 1 in the object count, bucket size are matching on both side. |
@saif-0987 i think that i cannot help you further without knowing what object was not copied. if size are the same you should look for object with zero size. |
@saif-0987 do you have any updates or probably it is makes sense to close the issue? |
@arttor Actually i was trying to get the objects size which are having zero size , but could not able to get it so far. rclone didn't work on this, now trying with s3 api. We will get back to you shortly. Thanks |
We are exploring Chorus tool for migration in our infrastructure, we encountered an issue where discrepancies arose between the reported number of objects stored on the main storage and the actual count reflected on follower storage.
Our initial assessment revealed that while the main storage contained a total of 433,773 objects, Chorus listed only 433,673. We confirmed it by
chorctl dash
command , and only 433610 objects reflected on follower storage site.Additionally, we observed a discrepancy in the size of bucket after completion of replication jobs to the follower site. Our buckets was originally reported to be 112.2 gibibytes (GiB) in size. However, upon completion of the replication process, the size at the follower site was noted to be only 108.9 GiB.
We tried on couple of buckets and we got the same issue that mismatching the objects count while listing also difference in the size upon job completion.
At present, we're uncertain about the best course of action to address these discrepancies.
Regards,
Mohammad Saif
Please find the couple of snippet for reference:
Objects count at main storage:
![image](https://private-user-images.githubusercontent.com/149846299/335884293-ae1d69fa-5da8-4bd2-90d0-2e783e199fdb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0NjMxNzIsIm5iZiI6MTcyMDQ2Mjg3MiwicGF0aCI6Ii8xNDk4NDYyOTkvMzM1ODg0MjkzLWFlMWQ2OWZhLTVkYTgtNGJkMi05MGQwLTJlNzgzZTE5OWZkYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwOFQxODIxMTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lZmJlZmY2NDAxYzc3NzdjODBjN2ZmODYxYzJkNzkxZTliNTE2MWZlZjMwYmJhMGY5MzU4OWM0NDhlNjM0YTczJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.YvF4xhON2OYFovNX7PalCz_7ovZ52CNCBseQfti8vww)
During Migration:
![image](https://private-user-images.githubusercontent.com/149846299/335883700-4dffebd2-c786-438e-9c05-aec2941f9b6c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0NjMxNzIsIm5iZiI6MTcyMDQ2Mjg3MiwicGF0aCI6Ii8xNDk4NDYyOTkvMzM1ODgzNzAwLTRkZmZlYmQyLWM3ODYtNDM4ZS05YzA1LWFlYzI5NDFmOWI2Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwOFQxODIxMTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jMDgyZGU0YzlkNDMxMTc0MDE1ZjgzMTRiYTg0NDA4MWI2Yjg5OGMxZDhhYTM5YTdmZjNkNDEzZDgyY2UwNjRlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.w_antRJrk6V1y3Llbs4yw401d9S1Qm5gDQD-BxfHdA8)
Main storage site:
![image](https://private-user-images.githubusercontent.com/149846299/335883737-6e42c2ca-2013-4781-b7d2-1662684a85af.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cC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mYjZlODg3MWFjODhiYmI4MDk0MTcwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.DrJskUUiIRi4OhciCIadS3CAO6XOQx50CKBQUFKPFHc)
Objects count on follower site:
![image](https://private-user-images.githubusercontent.com/149846299/335884221-3f13fc4b-cd7c-4464-9379-f0601acc42f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0NjMxNzIsIm5iZiI6MTcyMDQ2Mjg3MiwicGF0aCI6Ii8xNDk4NDYyOTkvMzM1ODg0MjIxLTNmMTNmYzRiLWNkN2MtNDQ2NC05Mzc5LWYwNjAxYWNjNDJmNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwOFQxODIxMTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mY2EwZGNkN2JkMDExYTZhMDNmYjc0MTIwY2IxODdkZGJjZTcyMDdhZWNmMDQ0ZjFkZmZmNzdkOWY0OGE0N2U0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.nwE27QSQrVltKoLvniwXHTixb8iihsaP1nJY2nHdU84)
The text was updated successfully, but these errors were encountered: