heron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] Yaliang commented on a change in pull request #2847: Replace CHECK() with CHECK_*() so that when a check is failing, more …
Date Fri, 06 Apr 2018 00:10:11 GMT
Yaliang commented on a change in pull request #2847: Replace CHECK() with CHECK_*() so that
when a check is failing, more …
URL: https://github.com/apache/incubator-heron/pull/2847#discussion_r179631445
 
 

 ##########
 File path: heron/stmgr/src/cpp/manager/stmgr.cpp
 ##########
 @@ -1085,7 +1085,7 @@ void StMgr::RestoreTopologyState(sp_string _checkpoint_id, sp_int64
_restore_txi
 void StMgr::StartStatefulProcessing(sp_string _checkpoint_id) {
   LOG(INFO) << "Received StartProcessing message from tmaster for "
             << _checkpoint_id;
-  CHECK(stateful_restorer_);
+  CHECK(stateful_restorer_) << "Stateful restorer doesn't exist when starting process";
 
 Review comment:
   maybe `starting stateful process`

----------------------------------------------------------------
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

Mime
View raw message