Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Server Serverless 2022-03-07
-
184
Description
When we added the tryForget command we added the creation of a TTLIndex for garbage collection. However in multiversion tests it can happen that one version of the ShardSplitDonorService which contains the feature will create the index and another version without the feature will not create the index. To solve this compatibility issue we should protect that index creation with the shard split feature flag and only create the index when that flag is enabled.
We should implement a logic similar to the tenant migration donor service code or simply use the feature flag check like we already do here.