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

Make pre-images removal robust to featureFlagServerlessChangeStreams changes at runtime

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • QE 2023-05-15, QE 2023-05-29
    • 31

      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.

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

              Created:
              Updated:
              Resolved: