Skip to content

Storages: refine download index file#10053

Merged
ti-chi-bot[bot] merged 4 commits intopingcap:masterfrom
Lloyd-Pottiger:refine-reader
Mar 31, 2025
Merged

Storages: refine download index file#10053
ti-chi-bot[bot] merged 4 commits intopingcap:masterfrom
Lloyd-Pottiger:refine-reader

Conversation

@Lloyd-Pottiger
Copy link
Contributor

What problem does this PR solve?

Issue Number: ref #9843

Problem Summary:

What is changed and how it works?

Add `downloadFileForLocalReadWithRetry` in `FileCache`

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 28, 2025
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Mar 28, 2025
}
else
{
throw Exception(ErrorCodes::S3_ERROR, "Failed to download vector index file {}", index_file_path);
Copy link
Contributor

@JinheLin JinheLin Mar 28, 2025

Choose a reason for hiding this comment

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

Why not throw exception in downloadFileForLocalReadWithRetry if failed?

Copy link
Member

@CalvinNeo CalvinNeo left a comment

Choose a reason for hiding this comment

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

lgtm

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Mar 28, 2025
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Mar 28, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-03-28 07:57:02.924185477 +0000 UTC m=+1206316.608421575: ☑️ agreed by breezewish.
  • 2025-03-28 15:16:24.337116629 +0000 UTC m=+1232678.021352725: ☑️ agreed by CalvinNeo.

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Mar 28, 2025

@Lloyd-Pottiger: Your PR was out of date, I have automatically updated it for you.

At the same time I will also trigger all tests for you:

/run-all-tests

trigger some heavy tests which will not run always when PR updated.

If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@JaySon-Huang
Copy link
Contributor

/hold

@ti-chi-bot ti-chi-bot bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 28, 2025
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
@Lloyd-Pottiger
Copy link
Contributor Author

/retest

@JaySon-Huang
Copy link
Contributor

/test pull-integration-test

@Lloyd-Pottiger
Copy link
Contributor Author

/retest-required

Copy link
Contributor

@JaySon-Huang JaySon-Huang left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Mar 31, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: breezewish, CalvinNeo, JaySon-Huang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [CalvinNeo,JaySon-Huang,breezewish]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@JaySon-Huang
Copy link
Contributor

/unhold

1 similar comment
@Lloyd-Pottiger
Copy link
Contributor Author

/unhold

@ti-chi-bot ti-chi-bot bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 31, 2025
@ti-chi-bot ti-chi-bot bot merged commit b99dac6 into pingcap:master Mar 31, 2025
5 checks passed
@Lloyd-Pottiger Lloyd-Pottiger deleted the refine-reader branch April 3, 2025 05:40
yongman pushed a commit to yongman/tiflash that referenced this pull request Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants