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

Print blob file checksums as hex #8437

Closed
wants to merge 1 commit into from

Conversation

ltamasi
Copy link
Contributor

@ltamasi ltamasi commented Jun 22, 2021

Summary:
Currently, blob file checksums are incorrectly dumped as raw bytes
in the ldb manifest_dump output (i.e. they are not printed as hex).
The patch fixes this and also updates some test cases to reflect that
the checksum value field in BlobFileAddition and SharedBlobFileMetaData
contains the raw checksum and not a hex string.

Test Plan:
make check
Tested using ldb manifest_dump

@facebook-github-bot
Copy link
Contributor

@ltamasi has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@akankshamahajan15 akankshamahajan15 left a comment

Choose a reason for hiding this comment

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

LGTM!

@facebook-github-bot
Copy link
Contributor

@ltamasi merged this pull request in cbb3b25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants