diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-08-30 06:10:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-30 11:10:56 +0100 |
commit | ebd8374fb5f10f84fc818058100ec7ae284835b3 (patch) | |
tree | 573bbc6ebae3af171e3b95007802d5b9618e8047 /synapse/storage/schema | |
parent | Describe which rate limiter was hit in logs (#16135) (diff) | |
download | synapse-ebd8374fb5f10f84fc818058100ec7ae284835b3.tar.xz |
Stop writing to the event_txn_id table (#16175)
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/__init__.py | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/synapse/storage/schema/__init__.py b/synapse/storage/schema/__init__.py index 649d3c8e9f..422f11f59e 100644 --- a/synapse/storage/schema/__init__.py +++ b/synapse/storage/schema/__init__.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -SCHEMA_VERSION = 80 # remember to update the list below when updating +SCHEMA_VERSION = 81 # remember to update the list below when updating """Represents the expectations made by the codebase about the database schema This should be incremented whenever the codebase changes its requirements on the @@ -114,19 +114,15 @@ Changes in SCHEMA_VERSION = 79 Changes in SCHEMA_VERSION = 80 - The event_txn_id_device_id is always written to for new events. - Add tables for the task scheduler. + +Changes in SCHEMA_VERSION = 81 + - The event_txn_id is no longer written to for new events. """ SCHEMA_COMPAT_VERSION = ( - # Queries against `event_stream_ordering` columns in membership tables must - # be disambiguated. - # - # The threads_id column must written to with non-null values for the - # event_push_actions, event_push_actions_staging, and event_push_summary tables. - # - # insertions to the column `full_user_id` of tables profiles and user_filters can no - # longer be null - 76 + # The `event_txn_id_device_id` must be written to for new events. + 80 ) """Limit on how far the synapse codebase can be rolled back without breaking db compat |