全部插件

DSH / BUNDLE / BUNDLES

dsh-single-instance-guard

v0.1.0Tang-mm95 / dsh-single-instance-guard666bad9dde

可安装组合包组合包与其他模块社区 · Topic 自动分析

概览

dsh-single-instance-guard

DSH_HOME single-instance lock plugin: aborts startup loudly when another dsh server already uses the same data directory, preventing concurrent session-log writes (the 'seq gap in committed region' corruption class)

README / ZH

插件文档

目录摘要

DSH_HOME single-instance lock plugin: aborts startup loudly when another dsh server already uses the same data directory, preventing concurrent session-log writes (the 'seq gap in committed region' corruption class)

dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。

在 GitHub 阅读完整 README

LIMITATIONS

已知限制

- 两个进程同时发现同一把过期锁时,删除+重试路径存在极小竞态窗口;但 `O_EXCL` 原子写入保证最终只有一个胜者,败者会在重试时正确失败。 - 锁只防"多个服务共用同一个 `DSH_HOME`";不防(也不支持)两个 dsh 实例通过不同 root 指向同一会话文件。