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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
WorkerID v0.3.1
Bug fixes
fix: reject WithMaxLeaseTime shorter than 1s (ErrMaxLeaseTimeTooShort); values <=0 still default to 5m
fix: MemoryGenerator worker IDs now include 0, matching Redis/SQL [0, maxWorkerID]
fix: Redis NewRedisGenerator persists max_worker_id next to the ID zset and returns ErrClusterConfigMismatch when WithWorkerBits does not match an existing cluster (same check as InitializeSQLCluster). Legacy zsets without a meta key infer max as ZCARD-1 so a smaller joiner cannot stamp the wrong value.
Documentation updates
docs: drop stale README claim that Memory uses mutex locks