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

_finalize function should not be declared noexcept on create sharded collection path

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • v5.0
    • Hide

      1. Apply the attached patch
      2. Run the attached test

      Show
      1. Apply the attached patch 2. Run the attached test
    • Sharding EMEA 2021-05-31
    • 151

    Description

      The _finalize function is declared as noexcept, however it might throw when trying to get a shard from the shard registry, this might cause the server to crash.

      Attachments

        1. diff.patch
          0.9 kB
        2. bf_repro.js
          0.9 kB

        Activity

          People

            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: