Description
Problem
- Create 7.2 cluster
- Create bucket + collection with >0 maxTTL
- Backup cluster
- Drop the bucket
- Restore the bucket with --auto-create-buckets
- The maxTTL of the collection created in step 2 is 0
Fix
This is likely because we disable TTL modification for <7.6 clusters. This is correct for when we're modifying pre-existing collections, but when creating new collections, we should preserve the maxTTL
Attachments
For Gerrit Dashboard: MB-60028 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
202381,4 | MB-60028 Preserve collection maxTTL info <7.6 | master | backup | Status: MERGED | +2 | +1 |