-
Notifications
You must be signed in to change notification settings - Fork 101
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
feat(tidb-engine-ext): Mount the necessary cargo home cache directory #3212
feat(tidb-engine-ext): Mount the necessary cargo home cache directory #3212
Conversation
Based on the pull request title and description, the key change in this pull request is to mount the necessary cargo home cache directory to reduce cache size. Specifically, the diff shows that the One potential problem with this pull request is that it removes the commands that delete the existing cache directories and create symbolic links to the new cache directories. It is unclear whether these commands are still necessary with the new changes. It might be helpful to have some documentation explaining why these commands were removed and whether they are still necessary. Another potential problem is that the pull request does not have any tests or documentation to ensure that the new cache directory is mounted and used correctly. It would be helpful to have some tests that verify that the cache directory is mounted and used correctly. To fix these issues, the pull request author could add some documentation explaining the changes and why certain commands were removed. Additionally, the author could add tests to ensure that the cache directory is mounted and used correctly. |
prow-jobs/pingcap/tidb-engine-ext/release-6.1-latest-presubmits.yaml
Outdated
Show resolved
Hide resolved
Based on the pull request, the key changes in this PR are that a new directory is being mounted to reduce cache size. Specifically, the necessary cargo home cache directory is being mounted with three subdirectories: git/db, registry/index, and registry/cache. One potential issue with this PR is that it removes some commands that were previously executed in the presubmits job. Specifically, the two To fix this, it would be helpful to add some comments explaining why those commands were removed and how the new mount points will replace their functionality. Additionally, it would be beneficial to test this change on a staging environment before merging it to the main branch. Overall, the changes seem reasonable and should help reduce cache size, but it's important to make sure that this change doesn't introduce any unexpected behavior. |
Based on the title and description of the pull request, it seems that the changes are related to mounting the necessary cargo home cache directory to reduce cache size. The diff shows that in both I don't see any potential problems with this pull request. However, I do have some suggestions for fixing:
Overall, the changes seem good and can be merged into the main branch after addressing the above suggestions. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wuhuizuo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
Mount the necessary cargo home cache directory to reduce cache size.