Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4993

Cleanup code in QC.cached/uncached resets cache enabled to nil when new driver is used

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0.rc1
    • Affects Version/s: None
    • Component/s: Query
    • None
    • Fully Compatible

      irb(main):001:0> Mongoid::QueryCache.enabled=true
      irb(main):002:0> Mongoid::QueryCache.uncached { } 
      => nil
      irb(main):003:0> Mongoid::QueryCache.enabled?
      => false
      

            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: