Remove plans/ directory (P0/P1/P2 work complete)

This commit is contained in:
2026-05-27 02:12:21 -05:00
parent 0c1840d223
commit 0dbb2e02ed
33 changed files with 1906 additions and 990 deletions
+4 -1
View File
@@ -24,5 +24,8 @@ func GetKeyLock(keyLocks []sync.Map, key string) *sync.RWMutex {
shard := &keyLocks[shardIndex]
keyLock, _ := shard.LoadOrStore(key, &sync.RWMutex{})
return keyLock.(*sync.RWMutex)
if rl, ok := keyLock.(*sync.RWMutex); ok {
return rl
}
panic("corrupted lock shard: expected *sync.RWMutex")
}