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

Enable data integrity check for intermediate() by default in production

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-03-18, Execution Team 2024-04-01
    • 135

      SERVER-86937 adds a data integrity check for the BSONColumnBuilder::intermediate() function - the check verifies that the measurements we are adding to a bucket appear in the BSONColumns of the bucket after we have applied the diff produced by intermediate() and in the right order. Currently, this check is only enabled in testing. To add confidence in our data integrity this ticket will enable this check by default and add a server parameter (true by default) that will allow users to turn this check off for performance reasons if they so wish to.

      This ticket will also define what the expected behavior is if the data integrity check fails, and add a failpoint/tests for this scenario.

            Assignee:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Reporter:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: