Skip to content

Conversation

@TheOneRing
Copy link
Contributor

@TheOneRing TheOneRing commented Jul 24, 2025

The inode will be updated locally, as the content didn't change we won't trigger an upload, just a CSYNC_INSTRUCTION_UPDATE_METADATA .
Move detection isn't affected as it was broke for years anyhow see #397

Fixes: #396

@TheOneRing TheOneRing enabled auto-merge (rebase) July 24, 2025 09:47
@TheOneRing TheOneRing requested a review from Copilot July 24, 2025 09:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue where the inode value was being unnecessarily truncated on Windows systems. The change prevents truncation of the file index information, allowing the full inode value to be preserved locally and triggering proper metadata updates without affecting file content synchronization.

  • Removes bitwise AND operation that was truncating the upper 16 bits of the inode value
  • Preserves full 64-bit inode information from Windows file system APIs

@TheOneRing TheOneRing merged commit 6140c00 into main Jul 24, 2025
8 of 9 checks passed
@TheOneRing TheOneRing deleted the work/inode branch July 24, 2025 09:49
@openclouders openclouders mentioned this pull request Jul 24, 2025
1 task
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.

Windows: FileID is truncated

2 participants