Closed jonkiq closed 3 weeks ago
Hi @jonkiq ! Thanks for sharing :) PeerDB does the following as part of drop mirror: On postgres:
On clickhouse:
_peerdb_raw_table
Raw table dropping I doubt would have been the issue since we do IF EXISTS and I'm assuming the clickhouse user had drop permissions I think maybe it was actually waiting for the slot to get dropped ? (this can take a minute or two sometimes)
I'll see if I can figure out what caused it to hang and make a new ticket if I find anything interesting. Thanks @Amogh-Bharadwaj
local peerdb When you delete target tables (in clickhouse) and then try to delete the mirror in peerdb, the UI hangs and the mirror can't be deleted. This is a guess because after I added the table manually in clickhouse, the mirror could be deleted in peerdb.