Ignore some section changes around FLE collections

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1022
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • N&O 2026-09-14
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is to fix BF-46075, which was caused by a mismatch between how the test checks that a collection uses QueryableEncryption and how the server does - the test checks _safeContent__1 but the server uses encryptedFieldConfig. Ultimately, the issue is that the collection was destroyed and re-created with different configuration (one QE, one not) in between the two times that the metrics were gathered, so the robust fix is to verify that the collection is actually the same before assuming the stats should be the same. Here we just check certain fields, in order to keep the test in the same spirit, but may consider reevaluating in the future.

      While testing the fix, I got an evergreen failure due to a collection changing from FLE to not FLE which cased the wiredTiger section to also disappear, so I've added a fix for that as well.

            Assignee:
            Michael Nugent
            Reporter:
            Michael Nugent
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: