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 c7dfac7b784984a13e0707bc391c057dd8122bf2 Author: hahao <[email protected]> AuthorDate: Fri Oct 23 16:43:54 2020 -0700 [catalog manager] fix the typo in the comment for 'leader_lock_' Change-Id: I09152727d079e1eb3c4afe9eb13181c43c9331ce Reviewed-on: http://gerrit.cloudera.org:8080/16646 Tested-by: Kudu Jenkins Reviewed-by: Andrew Wong <[email protected]> Reviewed-by: Grant Henke <[email protected]> --- src/kudu/master/catalog_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kudu/master/catalog_manager.h b/src/kudu/master/catalog_manager.h index 86e16ce..d7e2041 100644 --- a/src/kudu/master/catalog_manager.h +++ b/src/kudu/master/catalog_manager.h @@ -1205,7 +1205,7 @@ class CatalogManager : public tserver::TabletReplicaLookupIf { // reading. Following an election where this master is elected leader, it // should acquire this lock for writing before reloading the metadata. // - // Readers should not acquire this lock directly; use ScopedLeadershipLock + // Readers should not acquire this lock directly; use ScopedLeaderSharedLock // instead. // // Always acquire this lock before state_lock_.
