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

Collection validation memory needed calculation can overflow

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0, v6.0, v5.0
    • Execution Team 2024-06-24

      Before the start of the second phase of collection validation, we iterate through the buckets and sum the memory needed. However, this is currently using a signed 32-bit integer so it may overflow if the total key size from those buckets is greater than ~2GB.

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

              Created:
              Updated:
              Resolved: