sp132
sp132
ZZITADEL
Created by sp132 on 5/22/2025 in #questions-help-bugs
Event compaction / snapshotting
hi there is it possible to somehow prune or compact the eventstore? We've been running our self-hosted instance for a couple of years now and trying to migrate away from CockroachDB using mirror command. The problem is that it takes very long to mirror the projections (45 hours in fact) with sessions8 taking a bulk of that time. This is mostly garbage data because session TTL is set to 12h anyway and we have no use for "historical" information about sessions or auth requests. By pruning or compacting the eventstore mirror can be completed in a reasonable amount of time, which should help with downtime and the like.
2 replies
ZZITADEL
Created by sp132 on 12/10/2024 in #questions-help-bugs
Generated IDs are non-unique
No description
6 replies
ZZITADEL
Created by sp132 on 11/27/2024 in #questions-help-bugs
Dismal performance of Users API V2
We have been using the Management API gRPC endpoints for some time and recently decided to try the Users API v2, primarily because of the organization filter. However, the difference in performance is so significant that we find it unusable. The management.v1.ListUsers call takes roughly 1.5 seconds to return 9,800+ results (unpaginated response), whereas users.v2.ListUsers takes 54–56 seconds to complete the same operation. What gives?
35 replies
ZZITADEL
Created by sp132 on 9/18/2024 in #questions-help-bugs
Logs for failed actions
I have a problem with Complement Token Action which I'm not sure how to solve. If I uncheck "Allowed to fail" - introspection returns "active": false for some of the users. I was able to narrow the problem to this piece of code that I'm using in my Action but there are no logs to aid me with further debugging.
let watermark = ctx.v1.user.getMetadata().metadata.find(v => v.key === "watermark")

if (watermark) {
api.v1.claims.setClaim('watermark', watermark.value);
}
let watermark = ctx.v1.user.getMetadata().metadata.find(v => v.key === "watermark")

if (watermark) {
api.v1.claims.setClaim('watermark', watermark.value);
}
Does someone know what's happening? I'm running self-hosted 2.54.9
11 replies
ZZITADEL
Created by sp132 on 9/16/2024 in #questions-help-bugs
User's object.Details is nil
No description
13 replies
ZZITADEL
Created by sp132 on 8/14/2024 in #questions-help-bugs
Memory leak
No description
54 replies