morningman commented on a change in pull request #1761: Add multi-path in
RowsetGraph
URL: https://github.com/apache/incubator-doris/pull/1761#discussion_r322582402
##########
File path: be/src/olap/tablet.cpp
##########
@@ -702,8 +616,15 @@ void Tablet::calc_missed_versions_unlock(int64_t
spec_version,
OLAPStatus Tablet::max_continuous_version_from_begining(Version* version,
VersionHash* v_hash) {
ReadLock rdlock(&_meta_lock);
+ RETURN_NOT_OK(max_continuous_version_from_begining_unlock(version,
v_hash));
+ return OLAP_SUCCESS;
+}
+
+OLAPStatus Tablet::max_continuous_version_from_begining_unlock(Version*
version, VersionHash* v_hash) {
vector<pair<Version, VersionHash>> existing_versions;
for (auto& rs : _tablet_meta->all_rs_metas()) {
+ LOG(INFO) << "rs version:" << rs->version().first
+ << "-" << rs->version().second;
existing_versions.emplace_back(rs->version() , rs->version_hash());
Review comment:
```suggestion
existing_versions.emplace_back(rs->version(), rs->version_hash());
```
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]