[FileBackend]
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 13 Mar 2012 01:46:33 +0000 (01:46 +0000)
committertstarling <tstarling@wikimedia.org>
Tue, 27 Mar 2012 04:27:14 +0000 (15:27 +1100)
commit215be530dd614b35198720ed417052d31f123b3d
tree7f5f41fbe3732be31a09d659bddbe8025c669566
parentb59613ccade47b6c5447194c6ff3b9812a62d989
[FileBackend]
* Added FileJournal class to log file changes for file backends. This can be used for migrations (like moving to Swift), syncing mirror repos, consistency checks, finishing/reverting operation batches, and such. The default journal is the "null" journal, which simply does nothing.
* Added the optional schema change required for using the DBFileJournal (MySQL, SQLite).

Change-Id: I33c9f9a598ba1f164c862b9dc3c718f9172db02b
includes/AutoLoader.php
includes/filerepo/backend/FileBackend.php
includes/filerepo/backend/FileBackendMultiWrite.php
includes/filerepo/backend/FileBackendStore.php
includes/filerepo/backend/FileOp.php
includes/filerepo/backend/filejournal/DBFileJournal.php [new file with mode: 0644]
includes/filerepo/backend/filejournal/FileJournal.php [new file with mode: 0644]
languages/messages/MessagesEn.php
maintenance/archives/patch-filejournal.sql [new file with mode: 0644]
maintenance/language/messages.inc