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

Convert all references to /opt/mongodbtoolchain/gdb to a versioned equivalent

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.8, 5.3.0-rc4, 4.2.24, 4.4.19
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v5.0, v4.4, v4.2
    • Dev Platform 2022-03-07, Dev Platform 2022-03-21
    • 8

      The mongodbtoolchain offers an unversioned path to GDB under /opt/mongodbtoolchain/gdb which refers specifically to the v3 GDB.

      Unfortunately, this breaks the encapsulation of the toolchain versioning mechanism. When we want to upgrade master from using v3 to v4, we can't repoint /opt/mongodbtoolchain/gdb to v4 because this would also upgrade GDB for older branches, which we don't really want to do.

      We should remove all references to /opt/mongodbtoolchain/gdb in the server codebase and replace them with /opt/mongodbtoolchain/v3/gdb, backport this change through all stable branches, and then update the toolchain builder to no longer produce /opt/mongodbtoolchain/gdb.

            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            0 Vote for this issue
            3 Start watching this issue