Skip to content

Does synpurge take into account the fact that the purge API is now async? #27

@ara4n

Description

@ara4n

Hi @aperezdc - apparently disroot.org's Matrix is currently down because they've tried to use synpurge and everything exploded. I stumbled across the problem and am trying to take a look at what they did, but from a quick inspection it looks like synpurge assumes that the /purge API is synchronous? Whereas in practice since March and matrix-org/synapse@e48c7aa#diff-5193fb8c4513ad3edf300808e59a10b1 the API has been async and returns immediately. Therefore I'm wondering if synpurge is firing off a tonne of simultaneous purge requests which then melt the server

Relatedly, I'm also wondering what the point is of the reindex button, which I think has been used here - recreating all the indexes on the DB is presumably likely to slow things down massively?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions