Update architecture guide with new default yielding behavior

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-09-15
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      The classic planner architecture guide states the default yielding behavior is to yield every 10ms or 1000 iterations. However the current defaults only rely on the 10ms condition: https://github.com/10gen/mongo/blob/32dcf8131862ab62a16c197edaabad7d6896bd80/src/mongo/db/query/query_knobs.idl#L543-L549

      I'm also curious about our plan to keep the architecture guide in sync with the code. Maybe we could link to the query_knobs file directly. Or we could use AI in code reviews, and have it ask us to update the readme if it has high confidence a change is necessary

            Assignee:
            Zixuan Zhuang
            Reporter:
            Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: