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

Rework timeseries_lastpoint_top.js to enable $meta field validation

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Query Optimization
    • ALL

      With SERVER-73509 the first part of this test was enabled again. Yet the last test which includes metadata fields fails during the comparison of the result sets. This is due to the fact that the output is intended to be different. A timeseries collection treats objects that only differ by field order as being equivalent meta values. Hence the comparison collection will have more values being returned compared to the timeseries collection. We only need to check on the correct plan being selected. 

            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            peter.volk@mongodb.com Peter Volk
            0 Vote for this issue
            2 Start watching this issue