Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

purge_history API is broken #2260

Closed
4nd3r opened this issue Jun 7, 2017 · 2 comments
Closed

purge_history API is broken #2260

4nd3r opened this issue Jun 7, 2017 · 2 comments

Comments

@4nd3r
Copy link
Contributor

4nd3r commented Jun 7, 2017

ran 3 times:

curl -X POST 'http://localhost:8008/_matrix/client/r0/admin/purge_history/!xyz:example.com/$xyz:example.com?access_token=xyz'

after that:

# grep -F 'events before cutoff' /var/log/matrix-synapse/homeserver.log | awk '{print $13}' 
1152
1152
1152

looks like purge doesn't work, because every run finds same amount of events for purge.

@4nd3r
Copy link
Contributor Author

4nd3r commented Jun 7, 2017

ok, looks like events are still purged for regular rooms, but not for e2e rooms.

@4nd3r 4nd3r changed the title purge_history API is broken purge_history API is broken for e2e rooms Jun 7, 2017
@4nd3r 4nd3r changed the title purge_history API is broken for e2e rooms purge_history API is broken Jun 12, 2017
@4nd3r
Copy link
Contributor Author

4nd3r commented Jun 12, 2017

apparently it's still broken for all rooms, because search still finds older events which should be purged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant