You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2021/04/24 03:04:46 UTC
[kudu] 01/02: [master] Clarify comment in
SysCatalogTable::WaitUntilRunning().
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 37cb2b378807e2025fbcab41d08f4eb5fa87a86a
Author: Mahesh Reddy <mr...@cloudera.com>
AuthorDate: Fri Apr 23 17:11:47 2021 -0700
[master] Clarify comment in SysCatalogTable::WaitUntilRunning().
This change clarifies the comment detailing the return behavior of
the status in SysCatalogTable::WaitUntilRunning().
Change-Id: I6d46d6797d112db8f45c714c3ba49c4b3c3315a7
Reviewed-on: http://gerrit.cloudera.org:8080/17337
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Tested-by: Andrew Wong <aw...@cloudera.com>
---
src/kudu/master/sys_catalog.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kudu/master/sys_catalog.cc b/src/kudu/master/sys_catalog.cc
index 54cee49..63aec50 100644
--- a/src/kudu/master/sys_catalog.cc
+++ b/src/kudu/master/sys_catalog.cc
@@ -541,7 +541,7 @@ Status SysCatalogTable::WaitUntilRunning() {
<< seconds_waited << " seconds)";
continue;
}
- // if the status is not OK or TimedOut return it.
+ // If the status is not OK or not TimedOut, then return it.
return status;
}
return Status::OK();