From 2cdcea5c9e24be74f351e4365fd02cea75d81896 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 28 Aug 2015 16:24:13 -0700 Subject: [PATCH] Improved getMainStashInstance() docs Change-Id: I49e5c112478927387244214917fb06907c22186f --- includes/objectcache/ObjectCache.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/objectcache/ObjectCache.php b/includes/objectcache/ObjectCache.php index 069cd950a9..601910578f 100644 --- a/includes/objectcache/ObjectCache.php +++ b/includes/objectcache/ObjectCache.php @@ -59,10 +59,11 @@ use MediaWiki\Logger\LoggerFactory; * Delete events are broadcasted to other DCs. See WANObjectCache for details. * * - ObjectCache::getMainStashInstance() - * Purpose: Storage. + * Purpose: Ephemeral storage. * Stored centrally within the local data-center. * Changes are replicated to other DCs (eventually consistent). * To retrieve the latest value (e.g. not from a slave), use BagOStuff:READ_LATEST. + * This store may be subject to LRU style evictions. * * - wfGetCache( $cacheType ) * Get a specific cache type by key in $wgObjectCaches. -- 2.20.1