mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merged V3.2 to HEAD
17574: Merged in DEV work for ContentStoreCleaner: ETHREEOH-2813 17432: Build up for fix of ETHREEOH-2813: ContentStoreCleaner doesn't scale 17546: ContentStoreCleaner fixes and further tests 17524: Unit tests and bulk queries for orphaned content 17506: W.I.P. for content cleaner for V3.2: ETHREEOH-2813 17575: Missed check-in (other DB create scripts look OK) 17577: Re-activated 'contentStoreCleanerTrigger' - Added system property: system.content.orphanCleanup.cronExpression=0 0 4 * * ? - Other useful properties: system.content.eagerOrphanCleanup=false system.content.orphanProtectDays=14 17578: Fixed MT test and sample contexts after recent content cleaner changes 17579: Fixed DB2 unique index creation for content URLs 17580: First pass at fix for ETHREEOH-3454: Port enterprise upgrade scripts for ContentStoreCleaner changes ___________________________________________________________________ Modified: svn:mergeinfo Merged /alfresco/BRANCHES/V3.2:r17574-17575,17577-17580 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18151 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -33,14 +33,15 @@ DROP TABLE alf_content_url; --(optional)
|
||||
CREATE TABLE alf_content_url
|
||||
(
|
||||
id INT8 NOT NULL,
|
||||
version INT8 NOT NULL,
|
||||
content_url VARCHAR(255) NOT NULL,
|
||||
content_url_short VARCHAR(12) NOT NULL,
|
||||
content_url_crc INT8 NOT NULL,
|
||||
content_size INT8 NOT NULL,
|
||||
orphan_time INT8 NULL,
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
CREATE INDEX idx_alf_cont_url_crc ON alf_content_url (content_url_short, content_url_crc);
|
||||
CREATE UNIQUE INDEX idx_alf_conturl_cr ON alf_content_url (content_url_short, content_url_crc);
|
||||
CREATE INDEX idx_alf_conturl_ot ON alf_content_url (orphan_time);
|
||||
CREATE SEQUENCE alf_content_url_seq START WITH 1 INCREMENT BY 1;
|
||||
|
||||
CREATE TABLE alf_content_data
|
||||
@@ -59,12 +60,6 @@ CREATE TABLE alf_content_data
|
||||
);
|
||||
CREATE SEQUENCE alf_content_data_seq START WITH 1 INCREMENT BY 1;
|
||||
|
||||
CREATE TABLE alf_content_clean
|
||||
(
|
||||
content_url VARCHAR(255) NOT NULL
|
||||
);
|
||||
CREATE INDEX idx_alf_contentclean_url ON alf_content_clean (content_url);
|
||||
|
||||
--
|
||||
-- Record script finish
|
||||
--
|
||||
|
Reference in New Issue
Block a user