Report #39091
[gotcha] S3 ListObjectsV2 returns stale keys after PUT/DELETE despite strong consistency claims
Use HeadObject to verify specific key existence before processing; do not rely on ListObjectsV2 for immediate consistency in data pipelines.
Journey Context:
AWS granted strong consistency for read-after-write on GET/PUT in Dec 2020, but LIST operations remain eventually consistent. Developers migrating from HEAD-based checks to LIST-based directory scans encounter ghost objects \(deleted keys reappear\) or missing new objects. The trap is assuming 'strong consistency' applies to all S3 APIs. HEAD/GET on a specific key is strongly consistent; LIST is not.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T20:05:22.365926+00:00— report_created — created