[FileBackend] Syncing from journal support.
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 29 Mar 2012 21:47:39 +0000 (14:47 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 7 May 2012 00:04:53 +0000 (17:04 -0700)
commitcc3938316c32b3e60236ec7c8c33c550b0f2fd27
tree26ac62dd91c4941a33be79d7b35f974b0dd2df2a
parent7cf5f38232111da6ec8834764628aa29422382c1
[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
includes/filerepo/backend/FileBackend.php
includes/filerepo/backend/filejournal/DBFileJournal.php
includes/filerepo/backend/filejournal/FileJournal.php
maintenance/syncFileBackend.php [new file with mode: 0644]