Skip to content

Commit 2526d20

Browse files
committed
fix(docker): copy SonnetMQ during server image build
1 parent b475196 commit 2526d20

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
### Added
99

1010
- **SonnetMQ 本地消息队列 MVP**:新增 `src/SonnetMQ` 零依赖核心库与 `docs/sonnetmq-roadmap.md`,采用 append-only log 提供 topic publish、consumer group pull/ack、单目录/单文件模式与重启 replay,为 IoTSharp 通过 SonnetDB 获得内置 MessageQueue 能力打基础。
11+
- **Docker 发布补齐 SonnetMQ 项目引用**`src/SonnetDB/Dockerfile` 在 restore 与 publish 阶段同步复制 `src/SonnetMQ`,避免服务端镜像构建时因缺少 `../SonnetMQ/SonnetMQ.csproj``CS0246`
1112
- **J10 SonnetDB Compaction 崩溃恢复与长稳加固**:新增 `segment-replacements.sdbmanifest` 段替换清单,Compaction 在写新段前记录 pending replacement、提交后标记旧段 superseded;启动加载 Segment 时按 manifest 跳过 pending 新段或已 superseded / retention dropped 旧段,避免崩溃后新旧重复段同时进入查询路径;Retention 整段 drop 也先提交清单再发布内存状态,补齐重启可恢复性测试。
1213
- **J9 SonnetDB 大量物理分表与文件布局优化**:时序 Segment 新写入路径切换为 `segments/v2/{bucketGroup}/{bucket}/{segmentId}.SDBSEG` 分层目录,避免单个 `segments/` 目录长期堆积海量段文件;启动枚举、durable checkpoint 校验、备份扫描、Compaction / Retention 旧段清理均兼容旧版平铺 `segments/{segmentId}.SDBSEG` 与 legacy sidecar 文件,不修改 `.SDBSEG` 二进制格式。
1314
- **J3 SonnetDB table MVP 前置能力补齐**:ADO.NET provider 新增 `Tables` / `Columns` / `Indexes` schema metadata 集合,可从嵌入式表 catalog 返回表、列、唯一索引和列序信息;SQL 新增 `REGEX` / `NOT REGEX` 字符串模式查询,关系表、表表 JOIN、文档和 hybrid 查询路径共享同一匹配语义,并补充 ADO.NET / EF Core 验收测试。

src/SonnetDB/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ COPY Directory.Build.props Directory.Packages.props global.json ./
2626
COPY .config/dotnet-tools.json .config/
2727
COPY src/SonnetDB/SonnetDB.csproj src/SonnetDB/
2828
COPY src/SonnetDB.Core/SonnetDB.Core.csproj src/SonnetDB.Core/
29+
COPY src/SonnetMQ/SonnetMQ.csproj src/SonnetMQ/
2930
COPY modules/DotSearch/Directory.Build.props modules/DotSearch/Directory.Packages.props modules/DotSearch/
3031
COPY modules/DotSearch/src/DotSearch.Core/DotSearch.Core.csproj modules/DotSearch/src/DotSearch.Core/
3132
COPY modules/DotSearch/src/DotSearch.Tokenizers.Cjk/DotSearch.Tokenizers.Cjk.csproj modules/DotSearch/src/DotSearch.Tokenizers.Cjk/
@@ -41,6 +42,7 @@ RUN dotnet tool restore
4142
# Copy full source and assets needed for the actual build.
4243
COPY src/SonnetDB/ src/SonnetDB/
4344
COPY src/SonnetDB.Core/ src/SonnetDB.Core/
45+
COPY src/SonnetMQ/ src/SonnetMQ/
4446
COPY modules/DotSearch/src/DotSearch.Core/ modules/DotSearch/src/DotSearch.Core/
4547
COPY modules/DotSearch/src/DotSearch.Tokenizers.Cjk/ modules/DotSearch/src/DotSearch.Tokenizers.Cjk/
4648
COPY modules/DotSearch/src/DotSearch.Tokenizers.Jieba/ modules/DotSearch/src/DotSearch.Tokenizers.Jieba/

0 commit comments

Comments
 (0)