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

Add change buffer API to log_entry #490

Merged
merged 3 commits into from
Mar 11, 2024

Conversation

hkadayam
Copy link
Contributor

@hkadayam hkadayam commented Mar 6, 2024

No description provided.

@hkadayam hkadayam requested a review from greensky00 March 6, 2024 18:53
Copy link
Contributor

@greensky00 greensky00 left a comment

Choose a reason for hiding this comment

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

Looks good, just refactoring.

Comment on lines 223 to 225
if (compare_log_entries(entry, log_entry::deserialize(*buf2)) == -1) {
return -1;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can just do

CHK_Z(compare_log_entries(entry, log_entry::deserialize(*buf2)));

isn't it? If so, let me revise it.

@greensky00 greensky00 merged commit bc1db87 into eBay:master Mar 11, 2024
1 check passed
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