Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an in-memory filesystem to track injected remote files #16477

Closed
wants to merge 3 commits into from

Conversation

coeuvre
Copy link
Member

@coeuvre coeuvre commented Oct 14, 2022

instead of using Map. This allows implementing more fs operations later.

instead of using Map. This allows implementing more fs operations later.
@coeuvre coeuvre requested a review from a team as a code owner October 14, 2022 15:58
@sgowroji sgowroji added team-Remote-Exec Issues and PRs for the Execution (Remote) team awaiting-review PR is awaiting review from an assigned reviewer labels Oct 14, 2022
}
}

static class RemoteFileInfo extends FileInfo {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will it be possible to reuse InMemoryFileInfo once we get rid of actionId (as we discussed elsewhere)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No:

  1. we have to override getFastDigest() to return the digest of remote file.
  2. we want to block operations that don't make sense to remote files e.g. getOutputStream.

@coeuvre coeuvre force-pushed the inmemory-remote-fs branch from 53045c6 to 45aa131 Compare October 17, 2022 09:57
@coeuvre coeuvre deleted the inmemory-remote-fs branch October 17, 2022 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review PR is awaiting review from an assigned reviewer team-Remote-Exec Issues and PRs for the Execution (Remote) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants