Omar
02/12/2025, 4:05 PMvroldanbet
02/12/2025, 4:21 PMOmar
02/12/2025, 4:52 PMOmar
02/13/2025, 12:37 PMvroldanbet
02/13/2025, 4:07 PMOmar
02/18/2025, 1:39 PM{"level":"info","revision":"CNT9lQM=","count":0,"time":"2025-02-18T13:34:11Z","message":"populated caveat watching cache"}
{"level":"debug","revision":"CNT9lQM=","watch-heartbeat":60000,"time":"2025-02-18T13:34:11Z","message":"beginning schema watch"}
{"level":"debug","time":"2025-02-18T13:34:11Z","message":"schema watch started"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x134ff0a]
goroutine 706 [running]:
github.com/authzed/spicedb/pkg/datastore.(*RevisionChanges).MarshalZerologObject(0x0, 0xc000b7a230)
/home/runner/actions-runner/_work/spicedb/spicedb/pkg/datastore/datastore.go:72 +0x2a
github.com/rs/zerolog.(*Event).appendObject(0xc000b7a230, {0x3a759e0?, 0x0?})
/home/runner/go/pkg/mod/github.com/rs/zerolog@v1.33.0/event.go:211 +0xa5
github.com/rs/zerolog.(*Event).Object(0xc000b7a230, {0x3473354?, 0x0?}, {0x3a759e0, 0x0})
/home/runner/go/pkg/mod/github.com/rs/zerolog@v1.33.0/event.go:227 +0x18b
github.com/authzed/spicedb/internal/datastore/proxy/schemacaching.(*watchingCachingProxy).startSync.func2()
/home/runner/actions-runner/_work/spicedb/spicedb/internal/datastore/proxy/schemacaching/watchingcache.go:264 +0xabd
created by github.com/authzed/spicedb/internal/datastore/proxy/schemacaching.(*watchingCachingProxy).startSync in goroutine 623
/home/runner/actions-runner/_work/spicedb/spicedb/internal/datastore/proxy/schemacaching/watchingcache.go:185 +0x20f
Starting service..........Max attempts reachedvroldanbet
02/18/2025, 1:40 PMvroldanbet
02/18/2025, 1:40 PMOmar
02/18/2025, 1:44 PMOmar
02/18/2025, 1:47 PMtrack_commit_timestamp is not set to on on this server. I also get watch api disabled; underlying datastore does not support it earlier in the logsOmar
02/18/2025, 1:48 PMOmar
02/18/2025, 1:49 PMvroldanbet
02/18/2025, 3:02 PMtrack_commit_timestamp is required for Watch API, which is used by the watch schema cache. With that I think we can probably reproduce it.
> i'm afraid i can't open an issue, company policy doesn't seem to allow it
as an OSS maintainer, that's sad to hear 😢vroldanbet
02/24/2025, 12:23 PMvroldanbet
02/24/2025, 4:00 PM