Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rgw: fix not initialized vars which cause rgw crash with ec data pool #16177
Fix crash of rgw that uses erasure-coded buckets.data pool.
For ec pools alignment = osd_pool_erasure_code_stripe_unit * data_chunk_count.
So, for example for
Then if uploading to S3 not multipart object with size=16M
And there not initialized void *handle leads to invalid pointer librados::AioCompletion::pc
1: (()+0x1fcee2) [0x55f98c2e0ee2]
@agutikov there are a few extra initializations here that I think are not needed. If you think there is an issue with librados not initializing these variables in certain cases then we need to fix librados.