Cache for tagging doesn't work if versionID is blank #307

Closed
opened 2025-12-28 17:36:56 +00:00 by sami · 0 comments
Owner

Originally created by @masterSplinter01 on GitHub (Aug 3, 2022).

Originally assigned to: @masterSplinter01 on GitHub.

How to reproduce:
0. put breakpoint on api/layer/tagging.go:19

  1. create a bucket
  2. put an object with tags
  3. get object tagging -- s3-gw cannot find anything in system cache, because it asks an item with empty versionID, but cache stores needed tags by key with filled versionID
  4. get object tagging again -- the same as in step 3
Originally created by @masterSplinter01 on GitHub (Aug 3, 2022). Originally assigned to: @masterSplinter01 on GitHub. How to reproduce: 0. put breakpoint on `api/layer/tagging.go:19` 1. create a bucket 2. put an object with tags 3. get object tagging -- s3-gw cannot find anything in system cache, because it asks an item with empty `versionID`, but cache stores needed tags by key with filled `versionID` 5. get object tagging again -- the same as in step 3
sami 2025-12-28 17:36:56 +00:00
  • closed this issue
  • added the
    bug
    U2
    labels
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-s3-gw#307
No description provided.