You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2021/02/01 04:56:57 UTC
[GitHub] [incubator-pegasus] hycdong commented on a change in pull request #684: fix(split): add flush_memtable for copy_checkpoint_to_dir
hycdong commented on a change in pull request #684:
URL: https://github.com/apache/incubator-pegasus/pull/684#discussion_r567563893
##########
File path: src/server/pegasus_server_impl.cpp
##########
@@ -1802,19 +1802,21 @@ ::dsn::error_code pegasus_server_impl::async_checkpoint(bool flush_memtable)
// Must be thread safe.
::dsn::error_code pegasus_server_impl::copy_checkpoint_to_dir(const char *checkpoint_dir,
- /*output*/ int64_t *last_decree)
+ /*output*/ int64_t *last_decree,
+ bool flush_memtable)
Review comment:
It will update all functions who call `copy_checkpoint_to_dir`, and its default value is `false`, so I just add it as the last parameter.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org