lequocthinh12
04/08/2026, 4:10 PMJoey
04/08/2026, 4:11 PMuser?Joey
04/08/2026, 4:12 PMJoey
04/08/2026, 4:12 PMlequocthinh12
04/08/2026, 4:12 PMzed permission check channel:channel_id view user:user_idJoey
04/08/2026, 4:12 PMsubscription_plan#subscriber has 110K relationships?Joey
04/08/2026, 4:13 PMlequocthinh12
04/08/2026, 4:13 PMbb3d13a6-7c78-408e-aea3-a77a7619379f has 114kJoey
04/08/2026, 4:13 PMsubscriber: userJoey
04/08/2026, 4:13 PMJoey
04/08/2026, 4:13 PMsubscription#subscriberJoey
04/08/2026, 4:13 PMJoey
04/08/2026, 4:14 PMJoey
04/08/2026, 4:14 PMJoey
04/08/2026, 4:14 PMlequocthinh12
04/08/2026, 4:14 PMJoey
04/08/2026, 4:14 PM100 by default: try changing it to 1000Joey
04/08/2026, 4:14 PMlequocthinh12
04/08/2026, 4:16 PMthe new query planner has code to "reverse" this kind of wide relation
Yes I've seen it on the page, v1.51.0 support it sir?lequocthinh12
04/08/2026, 4:17 PMapiVersion: authzed.com/v1alpha1
kind: SpiceDBCluster
metadata:
name: prd-spice-db
namespace: appauth
spec:
secretName: spicedb-config
config:
datastoreEngine: postgres
enableRevisionHeartbeat: "false"
httpEnabled: "true"
image: authzed/spicedb:v1.51.0
logLevel: "trace"
replicas: "3"
skipReleaseCheck: "true"
patches:
- kind: Deployment
patch:
spec:
template:
spec:
containers:
- name: spicedb
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: "1"
memory: 1Gi
args:
- "serve"
- "--experimental-query-plan=check"
- "--log-level=trace"
I added the flag to my specs, but seems like there still bug with that one.Joey
04/08/2026, 4:17 PMJoey
04/08/2026, 4:17 PMJoey
04/08/2026, 4:17 PMJoey
04/08/2026, 4:18 PMlequocthinh12
04/08/2026, 4:19 PMlequocthinh12
04/08/2026, 4:20 PMJoey
04/08/2026, 4:26 PMJoey
04/08/2026, 4:26 PMJoey
04/08/2026, 4:26 PMJoey
04/08/2026, 4:26 PMlequocthinh12
04/08/2026, 4:33 PMJoey
04/08/2026, 4:41 PMJoey
04/08/2026, 4:41 PMJoey
04/08/2026, 4:41 PMJoey
04/08/2026, 4:41 PMlequocthinh12
04/08/2026, 5:02 PMuser -> resource perspective. The code works in resource->userJoey
04/08/2026, 5:05 PMJoey
04/08/2026, 5:05 PMJoey
04/08/2026, 5:05 PM