Skip to content

Conversation

@leaves12138
Copy link
Contributor

Purpose

For the preparation to delete blob

Tests

API and Format

Documentation

long previousPos = out.getPos();
crc32.reset();

write(MAGIC_NUMBER_BYTES);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we need to write magic number for null blob?

@JingsongLi
Copy link
Contributor

Another thing is that we should distinguish between a blob with a length of 0 and a null value.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants