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

Key generation on single document can exceed index build sorter limit

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL

      A single, well-constructed document can generate enough large keys to exceed the sorter's memory limit.

      One solution would be to prevent this from happening and just fail an index build in that case. For documents inserted outside of an index build, we can most likely use the same global index build memory limit. We would need to be careful to ensure users can delete these oversized documents or update them to conform to the new limit.

      This is not a new problem and has likely existed for as long as MongoDB has existed.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: