Skip to content

Conversation

LunaWhispers
Copy link
Contributor

Description

Before: persistent_cache_task_id generated as 10 bytes using CRC32
Now: persistent_cache_task_id generated as 64 bytes using SHA256.

Reason: 10 bytes cannot pass through RocksDB's 64-bit prefix index.

Related Issue

Motivation and Context

Screenshots (if appropriate)

Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
@LunaWhispers LunaWhispers self-assigned this Aug 28, 2025
@LunaWhispers LunaWhispers added the bug Something isn't working label Aug 28, 2025
@LunaWhispers
Copy link
Contributor Author

ref: #1281

Copy link

codecov bot commented Aug 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.58%. Comparing base (274140a) to head (77de20e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1316   +/-   ##
=======================================
  Coverage   48.58%   48.58%           
=======================================
  Files          60       60           
  Lines       15186    15186           
=======================================
  Hits         7378     7378           
  Misses       7808     7808           
Files with missing lines Coverage Δ
dragonfly-client-util/src/id_generator/mod.rs 98.28% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

@chlins chlins merged commit e252c8d into dragonflyoss:main Aug 28, 2025
9 checks passed
@LunaWhispers LunaWhispers deleted the fix/task_id branch September 2, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants