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

Consider relaxing latest assert in releases.h.tpl

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Replication
    • Repl 2024-02-19

    Description

      This assertion in the releases template file may cause compile to fail if the release steps are performed out of order and the git tag is added ahead of the changes to releases.yml. We can be more defensive about this and set latestFCV to the most recent version in releases.yml that is <= the current git tag. This will allow developers to still compile in this situation.

      If this situation happens, we can log a warning that this is an unintended scenario to help debugability too.

      Attachments

        Activity

          People

            xuerui.fa@mongodb.com Xuerui Fa
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: