-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
History purge failed with: ValueError: max() arg is an empty sequence #10669
Comments
I think the fix here is to handle the case of the DB query returning no rows. |
What caused the purge out of interest? Do you have the experimental room retention feature enabled, or was the room purged manually? |
I answered in a PR reply, sorry, I'll copy it here:
Can I see this in the db somehow?
rooms with 1 active:
So, I don't really know whether this room was purged manually, all I know that there was some script that managed local_media+should have managed messages and we had syn v1.0 |
There are a few known reasons why we could end up with a room without any forward-extremities: see #8094 which is another symptom of such a situation. Some examples include:
|
Now that #10690 is merged, can we close this? |
I think so, if there's no objections, i'll gladly do this. |
Description
On history purge, this happened:
Then there's no connection with element (crash?)
Version information
Synapse: 1.40,
on Debian 11,
using matrix repo.
This is a migration from 1.0 version
The text was updated successfully, but these errors were encountered: