Skip to content

fix: use global incrementing counter for filenames#95

Merged
mozhaa merged 1 commit into
developfrom
fix/hash-collision
May 20, 2026
Merged

fix: use global incrementing counter for filenames#95
mozhaa merged 1 commit into
developfrom
fix/hash-collision

Conversation

@mozhaa

@mozhaa mozhaa commented May 20, 2026

Copy link
Copy Markdown
Collaborator

tree_key::hash is now not a hash, but a unique id, generated from incrementing a global counter, stored in files_table
original name (hash) was kept to avoid modifying the whole codebase

this solve the issue of hash collision

@mozhaa mozhaa changed the title fix: avoid using fnv1a hash for filenames and use incrementing counter instead fix: use global incrementing counter for filenames May 20, 2026
@mozhaa mozhaa merged commit 9fb4c41 into develop May 20, 2026
3 checks passed
@mozhaa mozhaa deleted the fix/hash-collision branch May 20, 2026 14:19
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