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

pegasus_server: refine write process #110

Merged
merged 7 commits into from
Jul 9, 2018
Merged

pegasus_server: refine write process #110

merged 7 commits into from
Jul 9, 2018

Conversation

qinzuoyan
Copy link
Contributor

No description provided.

@qinzuoyan qinzuoyan requested a review from neverchanje July 6, 2018 09:35
shengofsun
shengofsun previously approved these changes Jul 9, 2018
neverchanje
neverchanje previously approved these changes Jul 9, 2018
@qinzuoyan qinzuoyan dismissed stale reviews from neverchanje and shengofsun via f2e37de July 9, 2018 06:07
}

return on_batched_writes(requests, count, decree);
return on_batched_writes(requests, count, _decree);
Copy link
Contributor

Choose a reason for hiding this comment

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

那这里直接不传 _decree 就好了

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -104,6 +108,8 @@ int pegasus_write_service::batch_remove(int64_t decree,
const dsn::blob &key,
dsn::apps::update_response &resp)
{
dassert(_batch_start_time != 0, "batch_put must be called after batch_prepare");
Copy link
Contributor

Choose a reason for hiding this comment

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

batch_remove

@qinzuoyan qinzuoyan merged commit 8ee7e1d into master Jul 9, 2018
@qinzuoyan qinzuoyan deleted the qinzuoyan branch July 9, 2018 07:40
neverchanje pushed a commit to neverchanje/pegasus that referenced this pull request Jul 13, 2019
Former-commit-id: 425e095d7242972e7b2caf4c26b01625bacd291a [formerly 8ee7e1d]
Former-commit-id: 2425bc92bd82dca8a053b80b3503dedde9ea70d1
acelyc111 pushed a commit that referenced this pull request Jun 23, 2022
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.

3 participants