-
Notifications
You must be signed in to change notification settings - Fork 182
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
Allow file overwrites #487
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
monthonk
temporarily deployed
to
PR integration tests
August 29, 2023 12:48 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
August 29, 2023 12:48 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
August 29, 2023 12:48 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
August 29, 2023 12:48 — with
GitHub Actions
Inactive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks like this was a fairly simple change. A couple of high level questions for now.
sauraank
reviewed
Sep 1, 2023
monthonk
had a problem deploying
to
PR integration tests
September 4, 2023 15:38 — with
GitHub Actions
Failure
monthonk
had a problem deploying
to
PR integration tests
September 4, 2023 15:38 — with
GitHub Actions
Failure
monthonk
had a problem deploying
to
PR integration tests
September 4, 2023 15:38 — with
GitHub Actions
Failure
monthonk
had a problem deploying
to
PR integration tests
September 4, 2023 15:38 — with
GitHub Actions
Failure
monthonk
had a problem deploying
to
PR integration tests
September 4, 2023 15:44 — with
GitHub Actions
Failure
monthonk
had a problem deploying
to
PR integration tests
September 4, 2023 15:44 — with
GitHub Actions
Failure
monthonk
had a problem deploying
to
PR integration tests
September 4, 2023 15:44 — with
GitHub Actions
Failure
monthonk
had a problem deploying
to
PR integration tests
September 4, 2023 15:44 — with
GitHub Actions
Failure
monthonk
temporarily deployed
to
PR integration tests
September 4, 2023 15:46 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
September 4, 2023 15:46 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
September 4, 2023 15:46 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
September 4, 2023 15:46 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
September 4, 2023 16:10 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
September 4, 2023 16:10 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
September 4, 2023 16:10 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
September 4, 2023 16:10 — with
GitHub Actions
Inactive
monthonk
had a problem deploying
to
PR integration tests
September 7, 2023 15:49 — with
GitHub Actions
Failure
monthonk
temporarily deployed
to
PR integration tests
September 7, 2023 15:49 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
September 7, 2023 15:49 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
September 7, 2023 15:49 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
September 9, 2023 20:40 — with
GitHub Actions
Inactive
monthonk
had a problem deploying
to
PR integration tests
January 15, 2024 15:46 — with
GitHub Actions
Failure
monthonk
had a problem deploying
to
PR integration tests
January 15, 2024 15:46 — with
GitHub Actions
Failure
Signed-off-by: Monthon Klongklaew <[email protected]>
Signed-off-by: Monthon Klongklaew <[email protected]>
Signed-off-by: Monthon Klongklaew <[email protected]>
monthonk
had a problem deploying
to
PR integration tests
January 15, 2024 16:04 — with
GitHub Actions
Error
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 16:04 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR benchmarks
January 15, 2024 16:04 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 16:04 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR benchmarks
January 15, 2024 16:04 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 16:04 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 16:04 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 16:04 — with
GitHub Actions
Inactive
monthonk
had a problem deploying
to
PR integration tests
January 15, 2024 16:04 — with
GitHub Actions
Failure
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 19:57 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 19:57 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 19:57 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 19:57 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 19:57 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 19:57 — with
GitHub Actions
Inactive
monthonk
temporarily deployed
to
PR integration tests
January 15, 2024 19:57 — with
GitHub Actions
Inactive
passaro
approved these changes
Jan 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of change
Allow file overwrites on mountpoint. This is quite straightforward for files opened with
O_WRONLY
, we can just return a new write handle instead ofInodeNotWritable
error when the write status is remote. However, it's a bit tricky for files opened withO_RDWR
because we can either read or write to remote files and it means we can't decide that atopen()
time. So, I changed the concept of file handle to be able to do both write and read based on the operation that comes afteropen()
.Same as "delete", I disable this feature by default and provide a new option
--allow-overwrite
to enable it.Does this change impact existing behavior?
Yes, mountpoint now supports overwrites when mounting with
--allow-overwrite
option.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).