backbeat
backbeat copied to clipboard
Fallback into checking the forceLegacyListing parameter when the listing type is not included in the Kafka message
The check of forceLegacyListing in the bucket processor was moved to the conductor as the listing type also depends on the MongoDB indexes, which is not something used in S3C.
Lifecycle conductor in 7.x doesn't set the listing type in the bucketProcessor messages. So we now fallback to the forceLegacyListing param inside the config when encountering this case during the transition phase from backbeat 7.x to 8.x/9.x.
Also changed the default value of forceLegacyListing to how it's set in Backbeat 7.x. This is done to avoid any behaviour change in S3C in case the value is not set (which should in theory not be the case in RING10 but just in case)
Issue: BB-550