<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Lua脚本 on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek/tags/Lua%E8%84%9A%E6%9C%AC/</link>
    <description>Recent content in Lua脚本 on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Mon, 31 Aug 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek/tags/Lua%E8%84%9A%E6%9C%AC/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Redis Lua脚本把集群搞崩的真实案例分析</title>
      <link>https://index.zshipu.com/geek/post/20260831/Redis-Lua%E8%84%9A%E6%9C%AC%E6%8A%8A%E9%9B%86%E7%BE%A4%E6%90%9E%E5%B4%A9%E7%9A%84%E7%9C%9F%E5%AE%9E%E6%A1%88%E4%BE%8B%E5%88%86%E6%9E%90/</link>
      <pubDate>Mon, 31 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/20260831/Redis-Lua%E8%84%9A%E6%9C%AC%E6%8A%8A%E9%9B%86%E7%BE%A4%E6%90%9E%E5%B4%A9%E7%9A%84%E7%9C%9F%E5%AE%9E%E6%A1%88%E4%BE%8B%E5%88%86%E6%9E%90/</guid>
      <description>Redis的Lua脚本居然把我的集群搞崩了！ 这个真实案例显示，一个脚本执行后直接导致集群不可用。开发者原本用Lua处理多条命令的原子逻辑，却在集群分片环境下触发了节点崩溃。 Lua脚本跨slot访问直接打破集群分片规则 Redis集群通过哈希槽把键空间分成16384个槽位，每个节点只</description>
    </item>
  </channel>
</rss>
