You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A discord user reported a panic when using the watch schema cache.
From the stacktrace, what we can see is the postgres Watch API is returning a datastore.RevisionChanges that has a nil Revision, and causes it to panic when logging the revision change here and attempting to log the nil revision.
What platforms are affected?
macos
What architectures are affected?
arm64
What SpiceDB version are you using?
v1.40.0
Steps to Reproduce
A discord user reported a panic when using the watch schema cache.
From the stacktrace, what we can see is the postgres
Watch
API is returning adatastore.RevisionChanges
that has a nilRevision
, and causes it to panic when logging the revision change here and attempting to log the nil revision.Expected Result
No panic and no
datastore.RevisionChange
with a nil revisionActual Result
server panics
The text was updated successfully, but these errors were encountered: