jenkins-bot has submitted this change and it was merged.

Change subject: objectcache: Fix some doc bullet points in WANObjectCache
......................................................................


objectcache: Fix some doc bullet points in WANObjectCache

Change-Id: Id3e65b0768d45087aaf83ed3f432923c82acc713
---
M includes/libs/objectcache/WANObjectCache.php
1 file changed, 7 insertions(+), 7 deletions(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/libs/objectcache/WANObjectCache.php 
b/includes/libs/objectcache/WANObjectCache.php
index 130caeb..2c7ab13 100644
--- a/includes/libs/objectcache/WANObjectCache.php
+++ b/includes/libs/objectcache/WANObjectCache.php
@@ -264,16 +264,16 @@
         * changes in a significant way. This deletes the key and starts a 
hold-off
         * period where the key cannot be written to for a few seconds 
(HOLDOFF_TTL).
         * This is done to avoid the following race condition:
-        *   a) Some DB data changes and delete() is called on a corresponding 
key
-        *   b) A request refills the key with a stale value from a lagged DB
-        *   c) The stale value is stuck there until the key is expired/evicted
+        *   - a) Some DB data changes and delete() is called on a 
corresponding key
+        *   - b) A request refills the key with a stale value from a lagged DB
+        *   - c) The stale value is stuck there until the key is 
expired/evicted
         *
         * This is implemented by storing a special "tombstone" value at the 
cache
         * key that this class recognizes; get() calls will return false for 
the key
         * and any set() calls will refuse to replace tombstone values at the 
key.
         * For this to always avoid writing stale values, the following must 
hold:
-        *   a) Replication lag is bounded to being less than HOLDOFF_TTL; or
-        *   b) If lag is higher, the DB will have gone into read-only mode 
already
+        *   - a) Replication lag is bounded to being less than HOLDOFF_TTL; or
+        *   - b) If lag is higher, the DB will have gone into read-only mode 
already
         *
         * If called twice on the same key, then the last hold-off TTL takes
         * precedence. For idempotence, the $ttl should not vary for different
@@ -368,9 +368,9 @@
         *
         * This is similar to touchCheckKey() in that keys using it via
         * getWithSetCallback() will be invalidated. The differences are:
-        *   a) The timestamp will be deleted from all caches and lazily
+        *   - a) The timestamp will be deleted from all caches and lazily
         *      re-initialized when accessed (rather than set everywhere)
-        *   b) Thus, dependent keys will be known to be invalid, but not
+        *   - b) Thus, dependent keys will be known to be invalid, but not
         *      for how long (they are treated as "just" purged), which
         *      effects any lockTSE logic in getWithSetCallback()
         * The advantage is that this does not place high TTL keys on every 
cache

-- 
To view, visit https://gerrit.wikimedia.org/r/240257
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id3e65b0768d45087aaf83ed3f432923c82acc713
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to