Page MenuHomePhabricator

Remove cx‌_drafts table usage
Closed, ResolvedPublic

Description

CX used to have cx_drafts table till december 2015, then we migrated to use corpora table. The old translation before that time is still in cx_drafts table. Whenever those translations were accessed we removed it fom cx_drafts table. We can now remove the table and code associated with it.

Event Timeline

santhosh triaged this task as Medium priority.Jun 29 2017, 5:09 AM

Change 361817 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] Stop looking for saved translation in cx_drafts table

https://gerrit.wikimedia.org/r/361817

Change 361817 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Stop looking for saved translation in cx_drafts table

https://gerrit.wikimedia.org/r/361817

Change 362138 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] Remove usage of cx_drafts table

https://gerrit.wikimedia.org/r/362138

Change 362138 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Remove usage of cx_drafts table

https://gerrit.wikimedia.org/r/362138

Next step is actually removing cx_drafts table from production. But that can wait. @KartikMistry please note.

We've removed cx‌_drafts table usage from production. T172364 will track deleting table from Production. So, this task can be close.