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
{{ message }}
Repository navigation
ready flag has an unsynchronized read/write across grpc/blob/http syncs #2004
The ready bool field in the grpc, blob, and http syncs is written in the sync goroutine (handleFlagSync / equivalent) and read in IsReady() with no synchronization; a data race under the Go memory model, though harmless in practice since it's a single-value write of true.
kubernetes_sync.go already uses atomic.Bool; we should align the others.
core/pkg/sync/grpc/grpc_sync.go
core/pkg/sync/blob/blob_sync.go
core/pkg/sync/http/http_sync.go
Straightforward swap (Load()/Store()); watch for copylocks since atomic.Bool is non-copyable (all three are used via pointers today, so low risk).
Activity
fix(sync): synchronize readiness state (open-feature#2006)