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

Remove extraneous condition in collection validation for time-series bucket count

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Validate
    • Storage Execution

      This condition in collection validation determines whether we'll check a time-series bucket's count field or not. It has a small typo in that it doesn't compare timeseries::kTimeseriesControlCompressedUnsortedVersion against version which means it will accidentally always evaluate to true, but it turns out that this condition is extraneous anyway so it doesn't have any effect on the outcome. Since it's extraneous, we should just remove it.

            Assignee:
            Unassigned Unassigned
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: