Skip to content

Conversation

@etschannen
Copy link
Contributor

No description provided.

if(yieldBytes > SERVER_KNOBS->DESIRED_TOTAL_BYTES) {
yieldBytes = 0;
wait(yield());
valueWriter = BinaryWriter(IncludeVersion());
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be nice if we can keep MutationListRef::blob_begin private. If we resolve #2146 then we can also re-use the serialization code for both the asynchronous and synchronous versions. I think this is ok for now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will add a FIXME near both serialize functions

@etschannen etschannen merged commit 6716fcc into apple:release-6.2 Nov 13, 2019
@etschannen etschannen deleted the feature-commit-yield branch January 13, 2020 22:17
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