I've noticing couple likely connected issue, not regular and with not yet defined stable preconditions.
Also, it's happening inside the code that I run in ActiveJobs (that is managed by SolidQueue 1.0)
# `cache_key` is a string like "entity:f8ef8db0-8ba9-43d0-92c0-ee400986ed20"
Rails.cache.exist?(cache_key)
sometimes gives an error
undefined method `select_all' for nil (NoMethodError)
connection.select_all(query, "SolidCache::Entry Load").cast_values(attribute_types).to_h
^^^^^^^^^^^
I've noticing couple likely connected issue, not regular and with not yet defined stable preconditions. Also, it's happening inside the code that I run in ActiveJobs (that is managed by SolidQueue 1.0)
sometimes gives an error
another call
sometimes gives
seems like the same root cause -
connection
becamenil
under some conditions (dot not know how to refine these conditions yet)config/cache.yml
cache - uses separate database
was using using
database: cache
initially, tries also withconnects_to
- the same behaviorEnv Ruby 3.3.0 Rails: 7.2.1.1 SolidCache: 1.0.6 MariaDB with master-master replication in Galera Cluster ()
Stack traces: