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

[WIP] Missing Changes for Release 2.4.2 #1622

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

syeleti-msft
Copy link
Member

@syeleti-msft syeleti-msft commented Feb 4, 2025

  • Update renameFileOptions in fuse2 handler
  • Update the ETag for dst attribute while renaming the file
  • Sanitize the ETag in datalake before adding it to the attribute
  • Invalidate the attribute in attribute cache after doing a truncate operation on file. This is sort of quick hack done to avoid the complexity of truncate file in az storage component.
  • Add atomic_o_trunc flag in fuse2 options that will allow the fuse library to always pass the O_TRUNC flag on open call. see the comments in the code for more details

bar Outdated Show resolved Hide resolved
@syeleti-msft syeleti-msft marked this pull request as ready for review February 5, 2025 14:00
@syeleti-msft syeleti-msft changed the title missing Changes for release Missing Changes for Release 2.4.2 Feb 6, 2025
@@ -589,7 +594,7 @@ func (ac *AttrCache) CommitData(options internal.CommitDataOptions) error {
if err == nil {
ac.cacheLock.RLock()
defer ac.cacheLock.RUnlock()

// TODO: Could we just update the size, etag, modtime of the file here?
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looking this way.
We can check all the uses of invalidatePath.

@syeleti-msft syeleti-msft force-pushed the syeleti/missingReleaseChanges branch from ccea3cc to 09526c0 Compare February 6, 2025 13:15
@syeleti-msft syeleti-msft changed the title Missing Changes for Release 2.4.2 [WIP] Missing Changes for Release 2.4.2 Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants