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

Improve trimfactor property testing for range

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Queryable Encryption
    • None
    • Server Security
    • Fully Compatible
    • Security 2024-07-22, Security 2024-08-05, Security 2024-08-19

      With the interaction of trimfactor, there are 4 or 5 variables that affect range calculation for integer and floating point respectively. Several issues (SERVER-92390 and SERVER-92399) have been found due to recent changes as a result of SERVER-91077 and SERVER-91886. This has indicated that are regression tests for trim factor are not sufficient.

      We should add tests that vary domain size, sparsity, trim factor and precision. These tests should set some of these parameters and let others be the default values. We should verify that insert, update, find, compact, and cleanup work with each combination. We should test with int32, int64, double and decimal128.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: