[Bug]: 4.2-dev reads a published disk-cache range from a deleted object after same-key recreation
I maintainer di solito rispondono entro 1 giorno
@matrix-meow ci sta già lavorando.
Dal 26/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 1.9k
- Fork
- 312
- Merge medio
- 21h 57m
- PR unite (30g)
- 730
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di matrixorigin/matrixone
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
matrixorigin/matrixone#33363 ·
I maintainer di solito rispondono entro 1 giorno
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
matrixorigin/matrixone#33362 ·
I maintainer di solito rispondono entro 1 giorno
-
SLEEP rejects NULL and negative durations that MySQL acceptsForse già presa @XuPeng-SH l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
matrixorigin/matrixone#32653 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: TestChangeWatchProxy loses its first tenant connection during PingContext in Ubuntu CIForse già presa @XuPeng-SH l’ha presa oggi. Apertakind/bug needs-triage
matrixorigin/matrixone#33371 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: TestDaemonClaimSQLRoundTrip exhausts its shared deadline during the stale claim update in Ubuntu CIForse già presa @XuPeng-SH l’ha presa oggi. Apertakind/bug needs-triage
matrixorigin/matrixone#33370 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di matrixorigin/matrixone
Issue simili
-
bug(terraform): a `kubernetes_manifest` the scan can't fully read is dropped and nothing says soAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
OneBusAway/watchdog#455 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rootsiemen/loophole#97 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
smallstep/certificates#2863 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
SocialGouv/iterion#3889 ·
I maintainer di solito rispondono entro 1 giorno