QueryCache handle limits inefficiently

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.14.0.rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In Mongoid's QueryCache, if a query with a specified limit is run followed by a query with a smaller limit, it is expected to query again and not use the query cache. However, this behavior is inefficient and QueryCache would be more effective if it could support using a CachingCursor for any queries with smaller limits (currently in Driver, this is supported only when the first query does not specify a limit, in which case following queries with limits will use the cache). 

              Assignee:
              Emily Giurleo (Inactive)
              Reporter:
              Grace Chong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: