Commit graph

8 commits

Author SHA1 Message Date
Aaron Schulz
22ac627fd3 Added "posdump" option to syncFileBackend to dump the current position.
Change-Id: Iabb027788796e98e06e3c6e97d14f74819cc6c95
2012-10-04 11:43:59 -07:00
Aaron
5f04f28e6a Made backend sync script handle random errors better.
Change-Id: I3ad5d9d0768480d8be4bb480fe653238d203a95c
2012-09-10 22:38:49 +00:00
Alexandre Emsenhuber
a75b6d53cd Improve documentation of maintenance scripts.
Also contains a fix for Ia5a38311 (fae0550).

Change-Id: I630c83b48b66c5d8c97411082cabd731f316f42d
2012-09-02 20:33:22 +02: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
10aa3a3774 [FileBackend] Made copy script use error() for status dump.
Change-Id: I68a359e9ac1490683fb650d4c43f9b643e321701
2012-07-25 18:45:07 -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
082cde1f9d [FileBackend] Improved copy/sync script output.
Change-Id: I5f76fdb579cf17959093e7a8659839e8b8829b1c
2012-07-10 11:33:24 -07:00
Aaron Schulz
cc3938316c [FileBackend] Syncing from journal support.
* Added FileJournal::getChangeEntries() and FileBackend::getJournal().
* Added a script to sync one file backend from another, using the journal of the later.
* Removed some overzealous exception catching in FileJournal.

Change-Id: I6cc8d4fa2479dcf88878dc0b351b3cc92f4a5ad5
2012-05-06 17:04:53 -07:00