matrix-org / rust-synapse-compress-state

A tool to compress some state in a Synapse instance's database
https://pypi.org/project/synapse-auto-compressor/
Apache License 2.0
143 stars 33 forks source link

Fix infinite loop when looking for missing state groups #11

Closed richvdh closed 5 years ago

richvdh commented 5 years ago

The code which handles state groups which appear in state_group_edges but not state_groups_state would get confused if such state_groups did not themselves have a prev_state_group.

richvdh commented 5 years ago

I guess that means I rusted good :smile: