forked from apache/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mini_cluster: avoid SIGSEGV when master fails to start up
My machine's clock became desynchronized causing MiniCluster-based tests to SIGSEGV. The root cause appears to be in how we manage the mini_masters_ vector. By resizing it right at the beginning, various code paths later on may iterate on some number of non-existent masters and dereference empty shared pointers. Change-Id: Id1cc262ba83f70d97434fca4c75f76b095db77d6 Reviewed-on: http://gerrit.cloudera.org:8080/4006 Tested-by: Kudu Jenkins Reviewed-by: Todd Lipcon <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters