Hi, i've encountered "ResourceExhausted
# spicedb
i
Hi, i've encountered "ResourceExhausted" "the request has exceeded the allowable maximum depth of 50: this usually indicates a recursive or too deep data dependency. Try running zed with --explain to see the dependency." But running with "--explain" still fails with same error 😓
v
spicedb version, zed version?
i
zed v0.18.1 11:18AM WRN the version of SpiceDB being called is out of date. See: https://github.com/authzed/spicedb/releases/tag/v1.33.0 latest-released-version=v1.33.0 this-version=v1.32.0 service: v1.32.0
v
seems like an issue, would you mind opening one in zed's repo?
b
I've seen this too, I'm pretty sure it's due to the change a few releases ago around how the data from
--explain
is being returned to the client. In previous versions the data from
--explain
was being returned as metadata on the response, and that metadata could be included on either a success response or an error response. However now this has changed to being returned in the body of the response, but that body is only returned on a success, meaning that if the request fails the client never gets the explain data back
v
you are actually right. I don't think we considered that scenario. cc @Joey
i
So i assume the issue is with spicedb and not with zed. Should I open an issue on spicedb repo?
v
yes, please do so
i
Opened this issue on SpiceDB: https://github.com/authzed/spicedb/issues/1927 "No debug info / tracing info when maximum depth exceeded (from SpiceDB version v1.27.0)"
21 Views