You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
undefinedmethod `select_all' for nil (NoMethodError)connection.select_all(query,"SolidCache::Entry Load").cast_values(attribute_types).to_h
^^^^^^^^^^^
another call
Rails.cache.write(cache_key,1,{})
sometimes gives
undefinedmethod `supports_insert_conflict_target?' for nil (NoMethodError)connection.supports_insert_conflict_target? ? :key_hash : nil
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
seems like the same root cause - connection became nil 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 with connects_to - the same behavior
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:
The text was updated successfully, but these errors were encountered: