acelyc111 commented on code in PR #2198:
URL:
https://github.com/apache/incubator-pegasus/pull/2198#discussion_r1983510620
##########
src/replica/mutation.h:
##########
@@ -153,14 +165,17 @@ class mutation : public ref_counter
// user requests
std::vector<dsn::message_ex *> client_requests;
+ // A mutation will be a blocking mutation if `is_blocking` is true. A
blocking mutation
+ // will not begin to be popped from the queue and processed until all of
mutations before
+ // it in the queue have been committed and applied into RocksDB. This
field is only used
+ // by primary replicas.
Review Comment:
Give an example use case may be help to understand it, thanks!
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]