Lander Visterin
Lander Visterin
@ashutosh-narkar Thanks for the hint about the `Loaders` method, I've changed my code to use that and it works well. >we should return errors if we can make it backwards-compatible...
One interesting thing about using the `Loaders` method: Trigger() appears to safely copy the downloaders map by locking `p.mtx`: ```go func (p *Plugin) Trigger(ctx context.Context) error { p.mtx.Lock() downloaders :=...
>Good point. We probably need to lock and make a copy of the map like the Trigger() call. Unfortunately even when I add a lock to `Loaders` my example below...
> Is there anything actionable here, or are we OK to close this? broom On my end it is now clear how this works, so I was able to continue....
I am also seeing this problem using Harbor v1.10.1. It seems to happen randomly: most of the time login works fine so I cannot reliably reproduce it. We also using...
> this behavior is not the same when the Redis is destroyed and bought up newly, works perfectly fine for a day or a week and then I get the...
Update: Our Harbor web portal login became completely unusable because of this bug suddenly happening 100% of the time instead of randomly. `FLUSHALL` fixed the problem in this case, which...
I did some more debugging on this. It seems I was mislead by the error message and the actual issue is with the `sid` cookie. Whether the `_xsrf` is set...
The metrics that are exposed on that endpoint are documented here: https://www.openpolicyagent.org/docs/latest/monitoring/ The page you linked (https://www.openpolicyagent.org/docs/latest/rest-api/#performance-metrics) provides performance measurements for a single query evaluation, not the entire OPA instance,...
I personally haven't run into this issue since @mybayern1974 's comment anymore, but we don't have as many role definitions as the poster above.