Update architecture guide with new default yielding behavior

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • 3
    • TBD
    • 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:
            Unassigned
            Reporter:
            Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: