Gate extension-on-views support behind a feature flag

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is to derisk both streams of work for 8.3.

      On the views side, this will look like:

      ViewPolicy LiteParsedExtensionExpanded::getViewPolicy():
          if featureFlagExtensionViewsAndSubpipelines is not enabled:
              // TODO decide what should happen with $rerank
      
              if stageName is not $vectorSearch:
                  uassert that extension stages are not yet supported on views
              else:
                  // uassert to kick-back to retry runAggregate() with $vectorSearch using 
                  // legacy implementation 
                  uassert(FeatureFlagRetryInfo(featureFlagVectorSearchExtension, false));
      
          // continue with extensions-on-views logic in development
      
      

      The name of the flag is up for discussion.

            Assignee:
            Will Buerger
            Reporter:
            Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: