{
  "id": "redis/stream-entry-too-large",
  "signature": "ERR stream entry size exceeds server limits",
  "signature_zh": "流条目大小超出服务器限制",
  "regex": "ERR stream entry size exceeds server limits",
  "domain": "redis",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "A single stream entry exceeds the configured stream-node-max-bytes limit, preventing insertion.",
  "root_cause_type": "generic",
  "root_cause_zh": "单个流条目大小超过了配置的 stream-node-max-bytes 限制，导致无法插入。",
  "versions": [
    {
      "version": "7.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "7.2",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "7.4",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Only masks the issue; large entries cause memory fragmentation and slow replication.",
      "fail_rate": 0.65,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The entry remains too large; retry will fail repeatedly.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Removes protection; can lead to out-of-memory crashes and replication lag.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Break the data into multiple stream entries, each under stream-node-max-bytes (default 4KB). Example: 'XADD mystream * field1 value1' then 'XADD mystream * field2 value2'.",
      "success_rate": 0.92,
      "how": "Break the data into multiple stream entries, each under stream-node-max-bytes (default 4KB). Example: 'XADD mystream * field1 value1' then 'XADD mystream * field2 value2'.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Run 'CONFIG SET stream-node-max-bytes 65536' to allow 64KB entries, then retry XADD.",
      "success_rate": 0.85,
      "how": "Run 'CONFIG SET stream-node-max-bytes 65536' to allow 64KB entries, then retry XADD.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "将数据拆分为多个流条目，每个条目小于 stream-node-max-bytes（默认 4KB）。例如：'XADD mystream * field1 value1' 然后 'XADD mystream * field2 value2'。",
    "运行 'CONFIG SET stream-node-max-bytes 65536' 允许 64KB 条目，然后重试 XADD。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://redis.io/docs/latest/commands/xadd/",
  "official_doc_section": null,
  "error_code": "ERM",
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.88,
  "resolvable": "true",
  "first_seen": "2024-03-15",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}