Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1754

Avoid process.report for getting the glibc version

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.4
    • Affects Version/s: None
    • Component/s: CLI Module
    • None
    • Not Needed
    • Developer Tools

      We've recently received a bug report on Slack that indicates that the process.report.getReport() lookup we perform on Linux to get the current glibc version is potentially quite slow, most likely because it involves reverse lookups for IPs to which the current mongosh process is connected.

      We should attempt to replace that lookup with a relatively straightforward native addon.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: