Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9754

Add testing coverage for newer versions of GCC and Clang

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 3
    • StorEng - Defined Pipeline

      Summary
      What is the problem or use case, what are we trying to achieve?

      We have lagged behind on supporting and testing newer versions of GCC and Clang in WiredTiger. Currently, we test GCC up to v9, Clang up to v8 . GCC 10-12 and Clang 9-15 became available and should be added to our support list. 

      We should use this ticket to add the testing coverage for newer versions. Any WT source code compile issues uncovered by the newer compiler versions should be addressed in separate tickets. 

      Motivation

      • Does this affect any team outside of WT?
        (Are they blocked? Are they waiting for an answer?)

      Yes, any users that compile WiredTiger using a newer version of GCC/Clang.

      • How likely is it that this use case or problem will occur?
        (Main path? Edge case? Frequency of the issue?)

      It's not an issue but the lack of support and testing coverage. 

      • If the problem does occur, what are the consequences and how severe are they?
        (A minor annoyance at a log message? Performance concern? Outage/unavailability? Test Failure?)

      Users may run into compile issues when using a newer version of compiler. 

      • Is this issue urgent?
        (Does this ticket have a required timeline? What is it?)

      Not urgent but important. 

      Acceptance Criteria (Definition of Done)
      (When will this ticket be considered done? What is the acceptance criteria for this ticket to be closed?)

      • Testing
        (What all testing needs to be done as part of this ticket? Unit? Functional? Performance?Testing at MongoDB side?)

      Testing coverage should be added for GCC versions 10-12, Clang versions 9-14 in WT standalone tests.

      • Documentation update
        (Does this ticket require a change in the architecture guide? If yes, please create a corresponding doc ticket.)

      Our current build documentation indicates "GCC 8.5 or later or Clang 7.01 or later", which should suffice with no update needed.

      [Optional] Suggested Solution
      (Is there any suggested solution to handle this issue? Is it related to any existing WT ticket? Is it related to any previous issue fixed? If yes, link the WT ticket number using related to, depends on, dependent on by links)

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: