• victor's avatar
    MDL-54592 cachestore_mongodb: check MongoDB server connection · 02a5d26b
    victor authored
    The connection to the MongoDB server is checked on the creation and
    deletion of a cache store instance. If the connection fails during
    creation, the instance is set as not ready. Before deleting a instance,
    a new cachestore_mongodb object is created, and connection checked.
    There is no reason to check again the connection in the instance_deleted() method.