Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2376

Update driver query cache documentation

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

      This is a tracking ticket for updates to driver documentation that is query cache-related.

      I suggest not referencing Mongoid query cache from the driver documentation.
      Limit behavior documentation would need to be updated when https://jira.mongodb.org/browse/RUBY-2340 is done.
      If middleware is added to driver, add documentation for middleware.
      Add documentation for explicitly clearing the cache.
      Add documentation for disabling query cache in an inner scope from where it's enabled.
      Add documentation for using the query cache with transactions (explicitly say that the cache is cleared on transaction commit and abort).
      Add documentation for using query cache with aggregations (document that cache key selector field is sometimes a hash and sometimes an array).

            Assignee:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: