[Bug]: 4.2-dev reads a published disk-cache range from a deleted object after same-key recreation
メンテナーはふだん 1 日以内に返信
@matrix-meow がすでに取り組んでいます。
2026年11月26日 から。
評価
この issue はまだ評価されていません。
説明
Is there an existing issue for the same bug?
- I have checked the existing issues.
#27367 reported the same behavior on main and is closed. The “Known follow-ups” section of #27368 explicitly deferred invalidation of already-published range files. The case below reproduces on 4.2-dev.
Branch Name
4.2-dev
Commit ID
376853498154aa054bef72bf0878f71e4fc154f8
Other Environment Information
macOS arm64, Go 1.26.4. Package-level test with S3FS, the disk-backed object storage implementation, and a fresh local disk cache.
Actual Behavior
After deleting and recreating an object, a direct read returned new. A read of the same three bytes through the exact-range cache returned old. Both writes and the delete succeeded, and the request context stayed live. This also reproduced with the cache invalidation changes tested for #33295.
Expected Behavior
A read that starts after successful delete and recreation returns bytes from the new object, including when its byte range matches one cached before deletion.
Steps to Reproduce
- Open S3FS with a fresh disk cache. Set synchronous cache updates with
SetAsyncUpdate(false). - Write
oldtoobjusingSkipAllCache. - Read
[0,3)withSkipFullFilePreloads | SkipMemoryCache. This publishes the exact-range entry before deletion. - Call
Delete(ctx, "obj")with a live context and writenewto the same key usingSkipAllCache. - Read
[0,3)withSkipAllCache, then with the policy from step 3. The direct read returnsnewand the cached read returnsold.
Additional information
The 4.2-dev implementation of DiskCache.DeletePaths removes the full-object path. Exact-range files have separate names and can survive removal of that path. The affected entry was fully published before the delete began. #33295 separately covers cancellation of invalidation for full objects and fills still admitted at deletion.
- 主要言語
- Go
- スター
- 1.9k
- フォーク
- 312
- 平均マージ
- 21時間 57分
- マージ済み PR(30日)
- 730
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
matrixorigin/matrixone のほかの issue
-
kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
matrixorigin/matrixone#33363 ·
メンテナーはふだん 1 日以内に返信
-
kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
matrixorigin/matrixone#33362 ·
メンテナーはふだん 1 日以内に返信
-
SLEEP rejects NULL and negative durations that MySQL accepts対応中かも @XuPeng-SH が 7 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
matrixorigin/matrixone#32653 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: TestChangeWatchProxy loses its first tenant connection during PingContext in Ubuntu CI対応中かも @XuPeng-SH が今日担当しました。 オープンkind/bug needs-triage
matrixorigin/matrixone#33371 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: TestDaemonClaimSQLRoundTrip exhausts its shared deadline during the stale claim update in Ubuntu CI対応中かも @XuPeng-SH が今日担当しました。 オープンkind/bug needs-triage
matrixorigin/matrixone#33370 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
matrixorigin/matrixone の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
area/ui-schema good first issue type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 4 日以内に返信
-
A vessel you are not flying should draw dim grey, orbit and arrow (ADR 0041), not in its own colourオープンready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
jasonfen/terminal-space-program#1020 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
router-for-me/CLIProxyAPI#8573 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sipeed/picoclaw#3477 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信