imay commented on a change in pull request #523: Fix inconsistency of three
replicas belongs to one tablet
URL: https://github.com/apache/incubator-doris/pull/523#discussion_r246710398
##########
File path: be/src/olap/olap_header.cpp
##########
@@ -460,6 +460,48 @@ void OLAPHeader::add_delete_condition(const
DeleteConditionMessage& delete_condi
LOG(INFO) << "add delete condition. version=" << version;
}
+void OLAPHeader::delete_cond_by_version(const Version& version) {
+ DCHECK(version.first == version.second);
+ google::protobuf::RepeatedPtrField<DeleteConditionMessage>*
delete_conditions
+ = mutable_delete_data_conditions();
+ int index = 0;
+ for (; index < delete_conditions->size(); ++index) {
+ DeleteConditionMessage temp = delete_conditions->Get(index);
Review comment:
reference
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]