Skip to content

Deleting a file always logs an idcache error #795

Open

Description

@schweigisito

Whenever a file is deleted there is logged an idcache error, e.g.

opencloud-1  | {"level":"error","service":"storage-users","host.name":"09926f391467","pkg":"rgrpc","traceid":"895a759069717a98de7c1cd23b3a713c","error":"error: not found: record not found in cache","record":"/var/lib/opencloud/storage/users/users/2fa3cd06-4091-1041-96bc-f1312985cac2/screen-saver-214.jpg","time":"2026-09-09T12:20:11Z","line":"github.com/opencloud-eu/reva/v2@v2.49.0/pkg/storage/fs/posix/idcache/idcache.go:74","message":"could not get spaceID and nodeID from cache"}

Steps to reproduce

  • upload a file
  • delete it again
  • watch log file

Deployment

  • docker compose using latest rolling release 7.5.0

Activity

  1. added theissue type on Sep 9, 2026
  2. schweigisito commented on Sep 9, 2026

    @schweigisito
    MemberAuthor

    nats kv watch ids-storage-users_v2

    shows

    [2026-09-09 12:56:03] PUT ids-storage-users_v2 > GEZDGYRQMVSDCLJTGFRTELJUMMZWKLJZGM3TSLJZG4ZTAODFGAYWIZRRMQQTKMZWMI3WCNZRFUYGIZBXFU2GIZRYFVQTMMLEFU3DENRWMUZGIZJWHBTGI===: /var/lib/opencloud/storage/users/users/2fa3cd06-4091-1041-96bc-f1312985cac2/screen-saver-214.jpg
    [2026-09-09 12:56:03] PUT ids-storage-users_v2 > OZQXE===.NRUWE===.N5YGK3TDNRXXKZA=.ON2G64TBM5SQ====.OVZWK4TT.OVZWK4TT.GJTGCM3DMQYDMLJUGA4TCLJRGA2DCLJZGZRGGLLGGEZTCMRZHA2WGYLDGI======.ONRXEZLFNYWXGYLWMVZC2MRRGQXGU4DH: GEZDGYRQMVSDCLJTGFRTELJUMMZWKLJZGM3TSLJZG4ZTAODFGAYWIZRRMQQTKMZWMI3WCNZRFUYGIZBXFU2GIZRYFVQTMMLEFU3DENRWMUZGIZJWHBTGI===
    [2026-09-09 12:56:19] PURGE ids-storage-users_v2 > OZQXE===.NRUWE===.N5YGK3TDNRXXKZA=.ON2G64TBM5SQ====.OVZWK4TT.OVZWK4TT.GJTGCM3DMQYDMLJUGA4TCLJRGA2DCLJZGZRGGLLGGEZTCMRZHA2WGYLDGI======.ONRXEZLFNYWXGYLWMVZC2MRRGQXGU4DH
    [2026-09-09 12:56:19] PURGE ids-storage-users_v2 > GEZDGYRQMVSDCLJTGFRTELJUMMZWKLJZGM3TSLJZG4ZTAODFGAYWIZRRMQQTKMZWMI3WCNZRFUYGIZBXFU2GIZRYFVQTMMLEFU3DENRWMUZGIZJWHBTGI===
    

    for the reproduction steps. It looks like the cache is updated and it may just be a logging "issue" after reading something which has already been deleted?!

  3. moved this from Qualification to Prio <= 3 in OpenCloud Team Boardon Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions