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

Ensure that Document's FieldIterator is not invalidated by read operations

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • QE 2024-07-08

      Currently FieldIterator stores raw pointers to DocumentStorage cache that can be invalidated just by reading more fields. Which is bad, because nobody expects const operations to invalidate iterators. See SERVER-91339 for more details.

      We need to change it, so reads and cache re-allocations won't invalidate it.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: