Skip to content

Conversation

@dajimenezriv-internxt
Copy link
Contributor

What

This PR solves the bug from ticket https://inxt.atlassian.net/browse/PB-3776.
This solves also the issue #111.

Problem

Currently, we were using the property blocks of a file to difference between the event of fetch data (double click on a file) and hydratie (always keep on this device). However, zip files and maybe other files have 0 blocks always, so it wasn't working there.

Solution

Currently, there is a variable calle fileInDevice that manages files that are hydrated, however, it wasn't taking into account neither files that were hydrated in the initialization of the virtual drive nor files that were hydrated using fetch data (double click). We are going to fix this and that will fix also the bug, because we won't be looking anymore in the file stats, we will look only if the file is hydrated (is in the device) or not.

@dajimenezriv-internxt dajimenezriv-internxt self-assigned this Feb 6, 2025
@dajimenezriv-internxt dajimenezriv-internxt marked this pull request as draft February 6, 2025 14:39
Base automatically changed from dani-changes to master February 7, 2025 16:47
@sonarqubecloud
Copy link

@dajimenezriv-internxt dajimenezriv-internxt deleted the PB-3776-fix-zip-fetch-data branch March 18, 2025 17:42
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.

1 participant