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 #18446

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

Jackson-Wang-7
Copy link
Contributor

@Jackson-Wang-7 Jackson-Wang-7 commented Nov 27, 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

		pr-link: Alluxio/alluxio#18440
		change-id: cid-1204732240a5e73959b917eb6d9f0c97e05820dc

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
@elega elega 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 fcc474e into Alluxio:branch-2.10 Nov 28, 2023
19 checks passed
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