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

Ascertain query cache behavior with fibers

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      As discovered in the fix for https://jira.mongodb.org/browse/RUBY-2675, the query cache enablement flag is stored in fiber-local storage rather than thread-local storage. However, there is no test coverage for query cache use from various fibers.

      The tests for this should be added and the behavior documented.

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

              Created:
              Updated: