Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6809

calculateSchemaDepth() for schema telemetry tracking can fail with max call stack size

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.37.0
    • Affects Version/s: 1.36.4
    • Component/s: Schema, Telemetry Data
    • None
    • Environment:
      See HELP-45308
    • 2
    • Not Needed
    • Iteration Brontosaurus

      See HELP-45308. In particular, the log file reveals:

      RangeError: Maximum call stack size exceeded
          at h.calculateSchemaDepth (file:///.../Contents/Resources/app.asar/build/index-4d5b3902.296b00060d11308fb943.renderer.js:199:5797)
          at h._trackSchemaAnalyzed (file:///.../Contents/Resources/app.asar/build/index-4d5b3902.296b00060d11308fb943.renderer.js:199:6238)
          at h.startAnalysis (file:///.../Contents/Resources/app.asar/build/index-4d5b3902.296b00060d11308fb943.renderer.js:199:7520)
          at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
      

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: