| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| | |
* Added some b/c code with deprecation warnings
Change-Id: Ifceffbc0a37a223bcd7cd3dc60181fc85765bc46
|
| |
| |
| |
| |
| |
| | |
* Split out FileBackendException class and reduced direct use of MWException
Change-Id: I325c1798b6d90972c12a5dccc37989af34d857f3
|
| |
| |
| |
| |
| |
| |
| | |
* Also made the TTLs properly per-lock as they should be
* Also properly extract type/session from the keys in LUA
Change-Id: I4608b7d551ac7aa4b3f7e2f5ce92b50662b1d4e4
|
| |
| |
| |
| | |
Change-Id: I553dd1d42477326848e6e40b824058b6790e2eb5
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Actually this messes with the implicit backend made for things like Math (when unconfigured), which uses the "new" operator.
This reverts commit 1f129a22cbc8546b89dd4b49b2f567c1f758a968.
Change-Id: I4c72c4f7c8b82e38df5496cf2b90fc9e19c40334
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Moved some of the graph construction work to FileBackendGroup.
This helps the code in not depending on the rest of MW so much.
* Updated tests and FileBackendMultiwrite, which are the only things
directly constructing FileBackend objects.
Change-Id: I188a053c70ce088ce34613d5db40e6708e3ea9b7
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Ic81e298baa7cb21d0e494e6e2ed749e7f401f2b5
|
|/ /
| |
| |
| |
| |
| | |
Just count if there are array members
Change-Id: I4f9cc8ba554404796822317fdb285e2f560d01dd
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Resolves CodeSniffer warning PSR2.Methods.MethodDeclaration.Underscore
Change-Id: I6cf0fccb47a7e1070999ee510b4d3e0112c41cea
|
| |
| |
| |
| |
| |
| | |
According to the documentation, the return value should be a Status.
Change-Id: Ib4c9730b50ef95ed1f0659f61554d7f442a017de
|
| |
| |
| |
| | |
Change-Id: Iced174d9f94faf80c5fa21e15fa6c81b6d8fa21c
|
| |
| |
| |
| | |
Change-Id: I63deed0b2b9b6fc29f67c0b522987df156f685fa
|
| |
| |
| |
| | |
Change-Id: I2113aecc53f1b361d9c276113bc0a9f7076cd21c
|
|/
|
|
| |
Change-Id: Ie69c324e2f1ea0b8a654adee06ebda494cebd10c
|
|
|
|
|
|
|
|
| |
- Removed trailing spaces in comments
- Removed multiple empty lines
- Removed space after object operator
Change-Id: I9fd3256ab490c7cd2034de3fd94e6be6e6d6d8f2
|
|
|
|
| |
Change-Id: Idd57e8d7fff56c62a66c7fcaf4627b9096f0c363
|
|
|
|
|
|
|
| |
* Silly bug from 2afdc066f52b54faf63f9c980f7ef6a7841dd094 which caused HEAD
requests. Probably missed in local testing due to memcached.
Change-Id: I3b82ffe964e252eafa5254f7752e5ba45b49ba0e
|
|
|
|
|
|
|
|
|
|
|
| |
* Use the normal page size instead of limiting it way down to the cache
size. Track the stat information in the pages and load into into the
stat cache as entries are accessed. This should also be less prone to
evictions causing HEAD requests (or memcached hits).
* Also bumped CACHE_CHEAP_SIZE up to 500.
* Fix a few doc bits
Change-Id: I8d44a072e7bcc56c83d8d9c8c9ac9864530bccf8
|
|
|
|
|
|
| |
* Throw errors next time invalid timestamps are encountered
Change-Id: Ie5d6c63863cacbf7dc3bc3f408b395bdce859db9
|
|
|
|
|
|
|
| |
* Only normalize file path parameters, not other ones
* Actually use the normalized paths instead of throwing it away for the raw paths
Change-Id: I8d36735359f804371e2beae64e5ec6f792d87b27
|
|
|
|
| |
Change-Id: I222789cacaa2653c4dac62708ce228674c90af4c
|
|
|
|
| |
Change-Id: Ic68f483c4008ff6ae8c4accef2f9d1f180a5d377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's elitist mathematical jargon. In all cases dealt with here, it adds
no additional meaning compared to "if", beyond what was already obvious
from context. Thus, its only purpose is to smugly demonstrate that the
author attended their second-year mathematics classes, at the expense of
causing confusion for everyone who doesn't have such a background.
If you really think you need to convey extra information beyond what
"if" gives you, the English language contains plenty of devices for doing
so, without resorting to neologisms.
Change-Id: Iae21095d02ec2935c10e94f532235c2671c115b1
|
|
|
|
|
|
|
| |
* Also reduced rount trips in doUnlockingRequestBucket().
* Also removed some redundant doc comments.
Change-Id: I81878e92332509bd7fda9ddeef950b774f5b015d
|
|
|
|
| |
Change-Id: Ice9efd7ada10e1896afd0185a6305f6852e9605d
|
|
|
|
|
|
|
|
| |
* getPathsToLockForOpsInternal() now returns an array in the format LockManager can use
* Also fixed getScopedLocksForOps() for multiwrite backend (it should accept proxy backend paths)
* Updated getScopedFileLocks() docs
Change-Id: Id0dc50c159c5fbc8fca10a9e46c5be23afcb3e9a
|
|
|
|
| |
Change-Id: I221483ab4a0ed36ea34c19db1740dfaecf223677
|
|
|
|
| |
Change-Id: I0d823e4d20c89a22ad89a6af8739075f7a10c235
|
|
|
|
| |
Change-Id: I48bc82eab486c119ed1ac7812d2da97490088cd4
|
|
|
|
| |
Change-Id: I158c794539036d48a34dec9f2bbd202752da4fa4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
* This lets calling code be far more robust rather than just
silently ignoring entries due to some temporary problem.
Change-Id: I3ce2ae34f6cff5e40a80b8da5688503a387ce2a6
|
| |
| |
| |
| |
| |
| | |
* Also removed outer profiling layer.
Change-Id: Ice3b921fe0c9981ac16f005d66a78bf4f4a5c601
|
|/
|
|
| |
Change-Id: Iced16c6d32ef0e4d58376ed3c092a500ec917446
|
|
|
|
|
|
| |
* A few other minor doc cleanups and obvious type hints.
Change-Id: I454fad0c1942068b4f3632ebd1b605bfbb9dfe7c
|
|
|
|
| |
Change-Id: I72f132c0b6e9a300efff6c15957f163d84e7d9c2
|
|
|
|
| |
Change-Id: Iad422716f6796cc4b69405182f4a74daa0c93663
|
|\
| |
| |
| | |
reverse order."
|
| |
| |
| |
| |
| |
| | |
order.
Change-Id: I07bf9c852729d65cee72364ca3249e31936d0562
|
|/
|
|
|
|
|
|
| |
* This also makes it possible for subclasses to optimize this case.
* Added a timeout parameter to ScopedLock::factory().
* Cleaned up a few bits of documentation.
Change-Id: Id3e9cf01f25ab498ea00d87ffb6d00aa8b05052b
|
|
|
|
|
|
| |
doQuickOperationsInternal().
Change-Id: I6526d3b77fc078d80a0fb537d504a7fabcbb4c41
|
|
|
|
|
|
|
|
|
|
| |
Most were this way already:
https://doc.wikimedia.org/mediawiki-core/master/php/html/todo.html
Ran a find/replace on the odd ones. Also made them all
lower case.
Change-Id: I70c6a69344ddebc603e9a1c1d87e3cc4f4f4c560
|
|
|
|
| |
Change-Id: I57566a1779f353c18d96c59c47112c753aea6b90
|
|
|
|
| |
Change-Id: Iaf858ce2e8b21e031d27b984029f0424518201af
|
|
|
|
|
|
| |
to FileBackendMultiWrite.
Change-Id: I4fd96fda71fc1aba44104241a8329e95ba5cdda7
|