Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-88321

Audit FLE jstests to have the right the tag

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Server Security
    • v8.0
    • Security 2024-04-15, Security 2024-04-29

      There are a lot of FLE tests use assertEncryptedCollectionCounts to perform checks and this check can be performed against a secondary if the test passthrough changes the read preference to secondary/secondaryPreferred. However, reading from a secondary can return stale data and since FLE clients are not working with causal consistency, it's not guaranteed that the assertEncryptedCollectionCounts will check against the latest data on the secondary so they can fail on secondary.

      From a previous discussion, these tests should have the tag "assumes_read_preference_unchanged" so they won't run against secondary. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            jiawei.yang@mongodb.com Jiawei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: