From 6c826e765f2ea38a68628f548c6de068019e3281 Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Mon, 17 Sep 2018 16:25:19 -0400 Subject: materialize PublicChannels without triggers (#9424) Creating triggers requires SUPERUSER privileges, and is especially painful on RDS. Pivot to maintaining this denormalized table in code. --- i18n/en.json | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index 1f25c6b05..788469167 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -4914,10 +4914,34 @@ "id": "store.sql_channel.permanent_delete.app_error", "translation": "Unable to delete the channel" }, + { + "id": "store.sql_channel.permanent_delete.commit_transaction.app_error", + "translation": "Unable to commit transaction" + }, + { + "id": "store.sql_channel.permanent_delete.delete_public_channel.app_error", + "translation": "Unable to delete materialized public channel" + }, + { + "id": "store.sql_channel.permanent_delete.open_transaction.app_error", + "translation": "Unable to open transaction" + }, { "id": "store.sql_channel.permanent_delete_by_team.app_error", "translation": "Unable to delete the channels" }, + { + "id": "store.sql_channel.permanent_delete_by_team.commit_transaction.app_error", + "translation": "Unable to commit transaction" + }, + { + "id": "store.sql_channel.permanent_delete_by_team.delete_public_channels.app_error", + "translation": "Unable to delete materialized public channels" + }, + { + "id": "store.sql_channel.permanent_delete_by_team.open_transaction.app_error", + "translation": "Unable to open transaction" + }, { "id": "store.sql_channel.permanent_delete_members_by_user.app_error", "translation": "Unable to remove the channel member" @@ -4934,10 +4958,26 @@ "id": "store.sql_channel.reset_all_channel_schemes.app_error", "translation": "We could not reset the channel schemes" }, + { + "id": "store.sql_channel.reset_all_channel_schemes.commit_transaction.app_error", + "translation": "Unable to commit transaction" + }, + { + "id": "store.sql_channel.reset_all_channel_schemes.open_transaction.app_error", + "translation": "Unable to open transaction" + }, { "id": "store.sql_channel.reset_last_post_at.app_error", "translation": "We could not reset the channel last post at date" }, + { + "id": "store.sql_channel.reset_last_post_at.commit_transaction.app_error", + "translation": "Unable to commit transaction" + }, + { + "id": "store.sql_channel.reset_last_post_at.open_transaction.app_error", + "translation": "Unable to open transaction" + }, { "id": "store.sql_channel.save.archived_channel.app_error", "translation": "You can not modify an archived channel" @@ -4954,6 +4994,10 @@ "id": "store.sql_channel.save.open_transaction.app_error", "translation": "Unable to open transaction" }, + { + "id": "store.sql_channel.save.upsert_public_channel.app_error", + "translation": "Unable to upsert materialized public channel" + }, { "id": "store.sql_channel.save_channel.current_count.app_error", "translation": "Failed to get current channel count" @@ -5014,6 +5058,18 @@ "id": "store.sql_channel.search.app_error", "translation": "We encountered an error searching channels" }, + { + "id": "store.sql_channel.set_delete_at.commit_transaction.app_error", + "translation": "Unable to commit transaction" + }, + { + "id": "store.sql_channel.set_delete_at.open_transaction.app_error", + "translation": "Unable to open transaction" + }, + { + "id": "store.sql_channel.set_delete_at.update_public_channel.app_error", + "translation": "Unable to update the materialized public channel" + }, { "id": "store.sql_channel.update.app_error", "translation": "Unable to update the channel" @@ -5022,10 +5078,18 @@ "id": "store.sql_channel.update.archived_channel.app_error", "translation": "You can not modify an archived channel" }, + { + "id": "store.sql_channel.update.commit_transaction.app_error", + "translation": "Unable to commit transaction" + }, { "id": "store.sql_channel.update.exists.app_error", "translation": "A channel with that handle already exists" }, + { + "id": "store.sql_channel.update.open_transaction.app_error", + "translation": "Unable to open transaction" + }, { "id": "store.sql_channel.update.previously.app_error", "translation": "A channel with that handle was previously created" @@ -5034,6 +5098,10 @@ "id": "store.sql_channel.update.updating.app_error", "translation": "We encountered an error updating the channel" }, + { + "id": "store.sql_channel.update.upsert_public_channel.app_error", + "translation": "Unable to upsert materialized public channel" + }, { "id": "store.sql_channel.update_last_viewed_at.app_error", "translation": "Unable to update the last viewed at time" -- cgit v1.2.3-1-g7c22