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

Make pre-images removal robust to featureFlagServerlessChangeStreams changes at runtime

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc2
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • QE 2023-05-15, QE 2023-05-29
    • 31

    Description

      The value of featureFlagServerlessChangeStreams changes at runtime as a result of setFeatureCompatibilityVersion command. This happens at every addShard() call. As of now, change_stream_serverless_helpers::isChangeCollectionsModeActive() depends on the feature flag, so we need to audit all call sites to ensure correctness and consistency despite the current value of the feature flag. Once the feature flag is removed with SERVER-64947 the function can be refactored with SERVER-69960.

      Attachments

        Activity

          People

            romans.kasperovics@mongodb.com Romans Kasperovics
            romans.kasperovics@mongodb.com Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: