CBR: Small collection optimization assumes that maximum number of works per plan cannot exceed collection size

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • ALL
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-115714 added an optimization that attempts to continue with the multiplanner instead of switching to CBR when it appears less costly. However the logic assumes that the remaining number of works for a plan cannot exceed the number of documents in the collection, which is not always true when there are arrays and operations which refer to them.

            Assignee:
            Nicholas Zolnierz
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: