X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=maintenance%2Fstorage%2Fblob_tracking.sql;h=fbc407c76a270d286f2fb883aa6bf6bf2bd092fa;hb=02abae3248b9273be6b312aeb9f1cae81a3ac6c0;hp=b136609c9a54aac50082e475e2f162fb7b3f1e18;hpb=0922f54539f9156cfe3b7f972070bbd430fe8e4b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/storage/blob_tracking.sql b/maintenance/storage/blob_tracking.sql index b136609c9a..fbc407c76a 100644 --- a/maintenance/storage/blob_tracking.sql +++ b/maintenance/storage/blob_tracking.sql @@ -4,10 +4,14 @@ CREATE TABLE /*$wgDBprefix*/blob_tracking ( -- page.page_id -- This may be zero for orphan or deleted text + -- Note that this is for compression grouping only -- it doesn't need to be + -- accurate at the time recompressTracked is run. Operations such as a + -- delete/undelete cycle may make it inaccurate. bt_page integer not null, -- revision.rev_id -- This may be zero for orphan or deleted text + -- Like bt_page, it does not need to be accurate when recompressTracked is run. bt_rev_id integer not null, -- text.old_id @@ -50,4 +54,3 @@ CREATE TABLE /*$wgDBprefix*/blob_orphans ( PRIMARY KEY (bo_cluster, bo_blob_id) ) /*$wgDBTableOptions*/; -