Uploaded image for project: 'onedata'
  1. onedata
  2. VFS-13002

Hooks on od_xxx:update_cache should not be run in the calling process

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 25.1
    • None
    • None
    • None
    • Sprint 300

      Processes that use xxx_logic may cause a new doc to be fetched via GS and the cache to be updated. Then we have synchronous hook-like code in od_user and od_space, which gets executed in the calling process, which may lead to infinite loops of hooks (fetching od_space causes dir stats to run, which want to fetch od_space...)

            plglopiola Łukasz Opioła
            plglopiola Łukasz Opioła
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: