From 0777a90f60ccc646401ea9679789d0dac83ffd1f Mon Sep 17 00:00:00 2001 From: Hany Mostafa Date: Tue, 9 Dec 2025 15:13:23 -0800 Subject: [PATCH] Fix bug in collection name verification logic --- performance/index-cardinality-detection/detect-cardinality.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/performance/index-cardinality-detection/detect-cardinality.py b/performance/index-cardinality-detection/detect-cardinality.py index 12349fb..da92766 100644 --- a/performance/index-cardinality-detection/detect-cardinality.py +++ b/performance/index-cardinality-detection/detect-cardinality.py @@ -178,7 +178,7 @@ def start_cardinality_check(): if args.collections != "All": coll_names = args.collections.split(",") for coll_name in coll_names[:max_collections]: - if coll_name not in ("oplog.rs"): + if coll_name in ("oplog.rs"): continue print("### Starting cardinality check for collection - {} .... ".format(coll_name))