Skip to content

[Filestore] unlink/rename vs lookup/mkdir/etc #6338

Description

@tindarid

Similar to #5679

DirectoryEntryVersionCache tracks name changes for invalidation of entries returned during readdir call. Tracking works, if there are opened handles to this directory (subscribe/unsubscribe).

We should extend this semantics for in flight requests (carefully subscribe and unsubscribe to the directory while request is alive)

Example: concurrent unlink(a) and mkdir(a)

  1. mkdir creates, we haven't returned answer yet
  2. unlink completes
  3. mkdir can return the data, however we should invalidate entry timeouts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions