Info
One of the checks that we do with the shard key is verifying that the shard key is not a prefix of the index key. There appears to be a mismatch between the error description for this check in v4.4 versus the other versions causing a few failures in the multiversion suite.
Loosen the error description check in v5.0 so it matches the description in v4.4 server to fix multiversion failures.
Top User Comments
xgen-internal-githook commented on Mon, 6 May 2024 15:27:53 +0000:
Author:
{'name': 'Kruti Shah', 'email': '70412403+krutishah139@users.noreply.github.com', 'username': 'krutishah139'}
Message: SERVER-90172 Make the shard key prefix error description in v5.0 compatible with v4.4 (#21861)
EVG:
https://spruce.mongodb.com/version/663526c29d744400078b2211/tasks?page=0&sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&statuses=all,success,system-failed
GitOrigin-RevId: 46bc52d33d15d3d2b09b2d35cd1526ad006c9561
Branch: v5.0
https://github.com/mongodb/mongo/commit/5f97d2f49ba1d516a0aa4c38e2cb8be5f0d14d6a