Remove warnings from the docs about using message retention. (#16382)

There are no known bugs in the message retention code, but
it is possible that there still exists race conditions. Additional
fixes will be made as reported.
pull/16401/head
Patrick Cloke 2023-09-28 07:02:31 -04:00 committed by GitHub
parent cdb89dcefe
commit fb664cf159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 7 deletions

1
changelog.d/16382.doc Normal file
View File

@ -0,0 +1 @@
Update documentation around message retention policies.

View File

@ -8,8 +8,7 @@ and allow server and room admins to configure how long messages should
be kept in a homeserver's database before being purged from it. be kept in a homeserver's database before being purged from it.
**Please note that, as this feature isn't part of the Matrix **Please note that, as this feature isn't part of the Matrix
specification yet, this implementation is to be considered as specification yet, this implementation is to be considered as
experimental. There are known bugs which may cause database corruption. experimental.**
Proceed with caution.**
A message retention policy is mainly defined by its `max_lifetime` A message retention policy is mainly defined by its `max_lifetime`
parameter, which defines how long a message can be kept around after parameter, which defines how long a message can be kept around after

View File

@ -1026,11 +1026,8 @@ which are older than the room's maximum retention period. Synapse will also
filter events received over federation so that events that should have been filter events received over federation so that events that should have been
purged are ignored and not stored again. purged are ignored and not stored again.
The message retention policies feature is disabled by default. Please be advised The message retention policies feature is disabled by default. You can read more
that enabling this feature carries some risk. There are known bugs with the implementation about this feature [here](../../message_retention_policies.md).
which can cause database corruption. Setting retention to delete older history
is less risky than deleting newer history but in general caution is advised when enabling this
experimental feature. You can read more about this feature [here](../../message_retention_policies.md).
This setting has the following sub-options: This setting has the following sub-options:
* `default_policy`: Default retention policy. If set, Synapse will apply it to rooms that lack the * `default_policy`: Default retention policy. If set, Synapse will apply it to rooms that lack the