xtdb

2025-01-27T11:47:23.243419Z

I’m experiencing a hang on .close in xtdb v1, which seems to be related to the :xtdb.metrics.cloudwatch/reporter . (If I exclude that from the config, .close returns.) Any ideas on why that might be the case or an appropriate workaround? I’ve tried (.close (-> @*node :!system deref :xtdb.metrics.cloudwatch/reporter)) and that completed but .close on the node still hanged.

jarohen 2025-01-27T12:16:07.998919Z

hey @maxt 👋 thanks for the report, this sounds like a bug we need to repro and fix. for now your workaround looks good, but let's see if we can isolate a repro that we can put in a card?

Tomas Brejla 2025-01-27T16:05:08.529349Z

iirc, there used to be an close-related issue where if you called .close for the second time (ie.: on "already closed db"), it segfaulted. Perhaps this hanging can be related?