Skip to content
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

Load content hash as the etag of the object when the UFS is S3 #18440

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

Jackson-Wang-7
Copy link
Contributor

@Jackson-Wang-7 Jackson-Wang-7 commented Nov 24, 2023

What changes are proposed in this pull request?

Recode the content hash into XAttr as the ETag when the UFS is S3. When the file is newly created or loaded from UFS, Alluxio will record the ContentHash into metastore so the user can see the ETag attribute.

Why are the changes needed?

When the UFS is Object storage, The user can see the ETag of the file persisted in UFS by this way.

Does this PR introduce any user facing changes?

No

@alluxio-bot
Copy link
Contributor

Automated checks report:

  • PR title follows the conventions: FAIL
    • The title of the PR does not pass all the checks. Please fix the following issues:
      • First word of title ("Record") is not an imperative verb. Please use one of the valid words
  • Commits associated with Github account: PASS

Some checks failed. Please fix the reported issues and reply 'alluxio-bot, check this please' to re-run checks.

@Jackson-Wang-7 Jackson-Wang-7 changed the title Record content hash as the etag of the object when the UFS is S3 Load content hash as the etag of the object when the UFS is S3 Nov 27, 2023
@alluxio-bot
Copy link
Contributor

Automated checks report:

  • PR title follows the conventions: PASS
  • Commits associated with Github account: PASS

All checks passed!

@Jackson-Wang-7 Jackson-Wang-7 added the type-feature This issue is a feature request label Nov 27, 2023
@Jackson-Wang-7
Copy link
Contributor Author

alluxio-bot, merge this please

@alluxio-bot alluxio-bot merged commit 91e045b into Alluxio:master-2.x Nov 27, 2023
19 checks passed
@Jackson-Wang-7
Copy link
Contributor Author

alluxio-bot, cherry-pick this to branch-2.10 please

@alluxio-bot
Copy link
Contributor

Auto cherry-pick unsuccessful Failed to setup local git for auto cherry-pick 91e045b cannot be auto cherry-picked to branch branch-2.10. Please cherry-pick this manually.

Jackson-Wang-7 added a commit to Jackson-Wang-7/alluxio that referenced this pull request Nov 27, 2023
Recode the content hash into XAttr as the ETag when the UFS is S3. When the file is newly created or loaded from UFS, Alluxio will record the ContentHash into metastore so the user can see the ETag attribute.

When the UFS is Object storage, The user can see the ETag of the file persisted in UFS by this way.

No

			pr-link: Alluxio#18440
			change-id: cid-1204732240a5e73959b917eb6d9f0c97e05820dc
alluxio-bot pushed a commit that referenced this pull request Nov 28, 2023
Cherry-pick of existing commit.
orig-pr: #18440
orig-commit: 91e045b
orig-commit-author: yuyang wang <39869597+Jackson-Wang-7@users.noreply.github.com>

			pr-link: #18446
			change-id: cid-1204732240a5e73959b917eb6d9f0c97e05820dc
Jackson-Wang-7 added a commit to Jackson-Wang-7/alluxio that referenced this pull request Nov 28, 2023
Cherry-pick of existing commit.
orig-pr: Alluxio#18440
orig-commit: Alluxio/alluxio@91e045b
orig-commit-author: yuyang wang <39869597+Jackson-Wang-7@users.noreply.github.com>

			pr-link: Alluxio#18446
			change-id: cid-1204732240a5e73959b917eb6d9f0c97e05820dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature This issue is a feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants