Aaron Schulz
58a67086c6
Improved concurrency of copyFileBackend.php with pipelined downloads.
...
Change-Id: I0bde212cbba527d89b0c43f5174a77788cd07b71
2013-01-22 13:54:07 -08:00
jeroendedauw
38c7f444e1
Use __DIR__ instead of dirname( __FILE__ )
...
We can now do this since we finally switched to PHP 5.3 for MW 1.20 and get rid of the silly dirname(__FILE__) stuff :)
Change-Id: Id9b2c9cd2e678197aa81c78adced5d1d31ff57b1
2012-08-27 21:45:00 +02:00
Aaron Schulz
eb65b839f8
[FileBackend] Added option for copy script to skip non-UTF8 filenames.
...
Change-Id: I9b48012d890c2c4589984576a31d84dde535ad5b
2012-08-10 10:17:31 -07:00
Aaron Schulz
a649bfb419
[FileBackend] Skip over some illegal paths and output the error.
...
Change-Id: Ib32aadc6398168e4a63279d7da61a0dd1e1a6483
2012-08-01 16:48:33 -07:00
Aaron Schulz
a3e0cd0886
Free up some memory by unsetting large arrays in backend copy script.
...
Change-Id: I55b6a6f8228370d948821dcd4de22fda51539fd0
2012-07-17 23:25:30 -07:00
Aaron Schulz
6455336013
[FileBackend] Added "bypassReadOnly" flag.
...
* Added flag to bypass read-only checks to the 6 write functions.
* Made backend copy and sync scripts pass in this new flag.
* Also made sync script use doQuickOperations() since its faster.
Change-Id: Iee47f79ed7ab002cfc2d0adb5321c3a8520f971d
2012-07-17 20:55:49 -07:00
Aaron Schulz
0126fd93a1
[FileBackend] Made copy script retry on batch copy failure.
...
Change-Id: I5db35371a41fa72d449cba1fb7e15f19f0cefa21
2012-07-12 16:33:27 -07:00
Aaron Schulz
bd006888c9
[FileBackend] Tweaks to speed up backend copy script.
...
* Added 'missingonly' option to copy based only on a listing comparison.
* Made copy operation batches use doQuickOperations().
Change-Id: If5657a4c4d895980e27776357bb408b350727382
2012-07-12 11:11:45 -07:00
Aaron
46992c8bb4
[FileBackend] Added hash skipping option to speed up script.
...
Change-Id: If810bbdeffdbfa37a3609992c3e8038ee4deebe6
2012-07-11 16:34:43 -07:00
Aaron
a5821cf8be
[FileBackend] Only show "copied file(s)" for files the script had to copy.
...
Change-Id: I22741303e05d6ea50d33875d9f7438d2b3905b18
2012-07-10 12:21:11 -07:00
Aaron
082cde1f9d
[FileBackend] Improved copy/sync script output.
...
Change-Id: I5f76fdb579cf17959093e7a8659839e8b8829b1c
2012-07-10 11:33:24 -07:00
Aaron
4a6a0632fe
[FileBackend] Added "ratefile" option for backend copy script.
...
* This can be used to control the concurrency dynamically.
Change-Id: I7ebdbffa144928f559c34c4a4684b03597f616ce
2012-07-10 10:24:37 -07:00
Tim Starling
49df232e1e
Merge "[FileBackend] Changed copy script to use batches for concurrency."
2012-06-26 05:45:33 +00:00
Alexandre Emsenhuber
9eee3153ae
Improve documentation of maintenance scripts.
...
Change-Id: I328a3d42a09f2b082ebc153c2f399793e23942d7
2012-06-16 22:59:39 +02:00
Aaron Schulz
ce0677a1a2
[FileBackend] Changed copy script to use batches for concurrency.
...
* Also added a 'subdir' option so multiple shards can be done at once.
Change-Id: Id8c3a89a4cb30978f66db3bf95ebfebc0a9c01b4
2012-05-06 18:07:29 -07:00
Aaron
4845f5c01b
[FileBackend] Added a script to copy files from one backend to another. Useful for re-sharding.
...
Change-Id: Id942e83420fc5214ddcc8a5b483fd72166a76ff2
2012-04-26 10:21:58 -07:00