Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.4
-
Fix Version/s: 2.4
-
Component/s: Caching
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_24_STABLE
-
Fixed Branches:MOODLE_24_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-36322-m25 -
Pull Master Diff URL:
Description
- Add a mongodb cache instance (give it bad config)
- Change databasemeta to use it
Expected result:
Doesn't kill site
Actual result:
Exception - couldn't connect to any servers in the list
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 256 of /cache/stores/mongodb/lib.php: MongoCursorException thrown
line 256 of /cache/stores/mongodb/lib.php: call to MongoCollection->findOne()
line 292 of /cache/classes/loaders.php: call to cachestore_mongodb->get()
line 1272 of /cache/classes/loaders.php: call to cache->get()
line 401 of /lib/dml/pgsql_native_moodle_database.php: call to cache_application->get()
line 533 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_columns()
line 1330 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
line 5879 of /lib/accesslib.php: call to moodle_database->get_record()
line 7139 of /lib/accesslib.php: call to context_system::instance()
line 699 of /lib/setup.php: call to get_system_context()
line 100 of /config.php: call to require_once()
line 28 of /cache/admin.php: call to require_once()
Attachments
Issue Links
- has been marked as being related by
-
MDL-37075 If memcached plugin enabled, but site doens't support it will throw a fatal error
-
- Closed
-