You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/02/22 12:00:16 UTC
[GitHub] chaoyli commented on a change in pull request #654: Make mini
load/batch load, compaction, delete operation running.
chaoyli commented on a change in pull request #654: Make mini load/batch load, compaction, delete operation running.
URL: https://github.com/apache/incubator-doris/pull/654#discussion_r259314130
##########
File path: be/src/olap/tablet_meta.cpp
##########
@@ -371,12 +374,18 @@ OLAPStatus TabletMeta::delete_rs_meta_by_version(const Version& version) {
OLAPStatus TabletMeta::modify_rs_metas(const vector<RowsetMetaSharedPtr>& to_add,
const vector<RowsetMetaSharedPtr>& to_delete) {
- for (auto del_rs : to_delete) {
+ for (auto rs_to_del : to_delete) {
auto it = _rs_metas.begin();
while (it != _rs_metas.end()) {
- if (del_rs->version().first == (*it)->version().first
- && del_rs->version().second == (*it)->version().second) {
+ LOG(INFO) << "it version: " << (*it)->version().first << "-" << (*it)->version().second;
Review comment:
OK
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org