[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/storage/ -> trackBlobs.php (summary)

Adds blobs from a given external storage cluster to the blob_tracking table.

File Size: 398 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/commandLine.inc

Defines 1 class

TrackBlobs:: (9 methods):
  __construct()
  run()
  checkIntegrity()
  initTrackingTable()
  getTextClause()
  interpretPointer()
  trackRevisions()
  trackOrphanText()
  findOrphanBlobs()


Class: TrackBlobs  - X-Ref

__construct( $clusters )   X-Ref
No description

run()   X-Ref
No description

checkIntegrity()   X-Ref
No description

initTrackingTable()   X-Ref
No description

getTextClause()   X-Ref
No description

interpretPointer( $text )   X-Ref
No description

trackRevisions()   X-Ref
Scan the revision table for rows stored in the specified clusters


trackOrphanText()   X-Ref
Scan the text table for orphan text
Orphan text here does not imply DB corruption -- deleted text tracked by the
archive table counts as orphan for our purposes.


findOrphanBlobs()   X-Ref
Scan the blobs table for rows not registered in blob_tracking (and thus not
registered in the text table).

Orphan blobs are indicative of DB corruption. They are inaccessible and
should probably be deleted.



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1