-
Notifications
You must be signed in to change notification settings - Fork 9
feat: updates the task ID calculation logic in the Download #485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Gaius <gaius.qi@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This pull request includes a version bump for the
dragonfly-api
package and updates to the logic for calculating task IDs in theDownload
struct across multiple files. The changes ensure thatpiece_length
is now included as a factor in task ID calculation.Version update:
Cargo.toml
: Updated thedragonfly-api
package version from2.1.37
to2.1.38
.Task ID calculation updates:
pkg/apis/common/v2/common.pb.go
: Updated the comment for theContentForCalculatingTaskId
field in theDownload
struct to includepiece_length
as a factor in task ID calculation.pkg/apis/common/v2/common.proto
: Modified the documentation for thecontent_for_calculating_task_id
field in theDownload
message to reflect the inclusion ofpiece_length
.proto/common.proto
: Updated the comment for thecontent_for_calculating_task_id
field in theDownload
message to includepiece_length
.src/common.v2.rs
: Adjusted the comment for thecontent_for_calculating_task_id
field in theDownload
struct to account forpiece_length
in task ID calculation.Related Issue
Motivation and Context