{"id":"937f3f2753d598e8","repo":"go-redis/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/go-redis/redis/blob/36d97525cd8076aed67cddf54778e9ea84550929/probabilistic.go#L691-L727","documentation":"Error \"redis: CF.INFO unexpected key %s\" thrown in go-redis/redis.","triggerScenarios":"Thrown at probabilistic.go:709 when the library encounters an invalid state.","commonSituations":"Ignore unknown info keys or pin the module version tested against.","solutions":["Extend CF.INFO parsing for the unexpected key named in the error","Verify the RedisBloom module version"],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"36d97525cd8076aed67cddf54778e9ea84550929","analyzedAt":"2026-08-06T01:08:27.376Z","schemaVersion":2}