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

StaleDB handling in $out is incomplete

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 8.0.0
    • Component/s: None
    • None
    • Query Execution
    • v8.0
    • QE 2024-10-28, QE 2024-11-11, QE 2024-11-25, QE 2024-12-09
    • 0

      It is not garunteed that a database drop results in a StaleDB error that we are trying to handle here https://github.com/mongodb/mongo/blob/c41e87779e5dc89aa2f939d6a7b52aea1a650740/src/mongo/db/pipeline/document_source_writer.h#L297 furthermore we are forcing a refresh on the database which can have performance implications on other operations involving that database in order to handle movePrimary situation.

      in this ticket we are trying to attempt a short term solution for $out that still has all of the old known pre 8.0 bugs but doesn't have any new correctness or performance bugs

            Assignee:
            mickey.winters@mongodb.com Mickey Winters
            Reporter:
            mickey.winters@mongodb.com Mickey Winters
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: