Skip to content

feat(common): add hit_local_cache field to Download message - #669

Merged
gaius-qi merged 1 commit into
mainfrom
feature/local
Jul 21, 2026
Merged

feat(common): add hit_local_cache field to Download message#669
gaius-qi merged 1 commit into
mainfrom
feature/local

Conversation

@gaius-qi

@gaius-qi gaius-qi commented Jul 20, 2026

Copy link
Copy Markdown
Member

Description

  • Add hit_local_cache bool field (field 33) to Download message
  • When true, peer registers with scheduler only to report task metadata, skipping piece scheduling
  • Add GetHitLocalCache() accessor method
  • Bump version to 2.2.32

Related Issue

dragonflyoss/dragonfly#4880

Motivation and Context

- Add `hit_local_cache` bool field (field 33) to `Download` message
- When true, peer registers with scheduler only to report task
  metadata, skipping piece scheduling
- Add `GetHitLocalCache()` accessor method
- Bump version to 2.2.32

Signed-off-by: Gaius <gaius.qi@gmail.com>
@gaius-qi gaius-qi self-assigned this Jul 20, 2026
@gaius-qi
gaius-qi requested review from a team as code owners July 20, 2026 15:34
@gaius-qi gaius-qi added the enhancement New feature or request label Jul 20, 2026
@gaius-qi
gaius-qi enabled auto-merge (squash) July 20, 2026 15:43

@EvanCley EvanCley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@gaius-qi
gaius-qi merged commit cd468f5 into main Jul 21, 2026
6 checks passed
@gaius-qi
gaius-qi deleted the feature/local branch July 21, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants