{"record":{"id":"64d1c6d5279b3706","repo":"redis/go-redis","slug":"redis-cf-info-unexpected-key-s","errorCode":null,"errorMessage":"redis: CF.INFO unexpected key %s","messagePattern":"redis: CF\\.INFO unexpected key (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"probabilistic.go","lineNumber":709,"sourceCode":"\t\tcase \"Size\":\n\t\t\tresult.Size, err = rd.ReadInt()\n\t\tcase \"Number of buckets\":\n\t\t\tresult.NumBuckets, err = rd.ReadInt()\n\t\tcase \"Number of filters\":\n\t\t\tresult.NumFilters, err = rd.ReadInt()\n\t\tcase \"Number of items inserted\":\n\t\t\tresult.NumItemsInserted, err = rd.ReadInt()\n\t\tcase \"Number of items deleted\":\n\t\t\tresult.NumItemsDeleted, err = rd.ReadInt()\n\t\tcase \"Bucket size\":\n\t\t\tresult.BucketSize, err = rd.ReadInt()\n\t\tcase \"Expansion rate\":\n\t\t\tresult.ExpansionRate, err = rd.ReadInt()\n\t\tcase \"Max iterations\":\n\t\t\tresult.MaxIteration, err = rd.ReadInt()\n\n\t\tdefault:\n\t\t\treturn fmt.Errorf(\"redis: CF.INFO unexpected key %s\", key)\n\t\t}\n\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t}\n\n\tcmd.val = result\n\treturn nil\n}\n\nfunc (cmd *CFInfoCmd) Clone() Cmder {\n\treturn &CFInfoCmd{\n\t\tbaseCmd: cmd.cloneBaseCmd(),\n\t\tval:     cmd.val, // CFInfo is a simple struct, can be copied directly\n\t}\n}\n","sourceCodeStart":691,"sourceCodeEnd":727,"githubUrl":"https://github.com/redis/go-redis/blob/c5cad058c72f58370553b48566302303cf8a2e89/probabilistic.go#L691-L727","documentation":"Error \"redis: CF.INFO unexpected key %s\" thrown in redis/go-redis.","triggerScenarios":"Thrown at probabilistic.go:709 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c5cad058c72f58370553b48566302303cf8a2e89","analyzedAt":"2026-09-01T06:50:53.388Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}