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

truncate logic correction in filecache #1569

Merged
merged 4 commits into from
Nov 18, 2024
Merged

Conversation

syeleti-msft
Copy link
Member

✅ What

Modifying the truncate logic in filecache to prevent uploading the entire file.

🤔 Why

Current truncate op implemenation in filecache:
open, truncate, close ->which is causing a download, truncate then upload. If size to which we are truncating is large. this is causing network issue.

Current changes:
Pass the call to the next component to handle the truncate operation. This will prevent uploading entire file on the network.

🔖 Related links

…. This is causing the network error when the file is large.

Instead it passes the call to the next component.
@vibhansa-msft vibhansa-msft added this to the v2-2.4.0 milestone Nov 18, 2024
@vibhansa-msft vibhansa-msft merged commit cbd7b10 into main Nov 18, 2024
9 checks passed
@vibhansa-msft vibhansa-msft deleted the syeleti/fc-truncate branch November 18, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants