Stop purging tables which are slated for removal. (#16273)
This commit is contained in:
parent
2b35626b6b
commit
16ef6f1e3c
|
@ -0,0 +1 @@
|
|||
Stop purging from tables slated for removal.
|
|
@ -450,10 +450,6 @@ class PurgeEventsStore(StateGroupWorkerStore, CacheInvalidationWorkerStore):
|
|||
"e2e_room_keys",
|
||||
"event_push_summary",
|
||||
"pusher_throttle",
|
||||
"insertion_events",
|
||||
"insertion_event_extremities",
|
||||
"insertion_event_edges",
|
||||
"batch_events",
|
||||
"room_account_data",
|
||||
"room_tags",
|
||||
# "rooms" happens last, to keep the foreign keys in the other tables
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
SCHEMA_VERSION = 81 # remember to update the list below when updating
|
||||
SCHEMA_VERSION = 82 # 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
|
||||
|
@ -117,6 +117,10 @@ Changes in SCHEMA_VERSION = 80
|
|||
|
||||
Changes in SCHEMA_VERSION = 81
|
||||
- The event_txn_id is no longer written to for new events.
|
||||
|
||||
Changes in SCHEMA_VERSION = 82
|
||||
- The insertion_events, insertion_event_extremities, insertion_event_edges, and
|
||||
batch_events tables are no longer purged in preparation for their removal.
|
||||
"""
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue