Skip to content

Commit

Permalink
After Shutdown() turn initted_ flag off
Browse files Browse the repository at this point in the history
Summary: So that it doesnt give the wrong impression that tserver is shutdown multiple times.

Test Plan:Tested as part of diff on fb side, where we made sure the
shutdown messages only appear once.

Reviewers: bhatvinay

Subscribers:

Tasks:

Tags:
  • Loading branch information
anirbanr-fb committed Aug 17, 2020
1 parent dd18672 commit 1dd2c7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kudu/tserver/tablet_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ void TabletServer::Shutdown() {
// 3. Shut down generic subsystems.
KuduServer::Shutdown();
LOG(INFO) << name << " shutdown complete.";
initted_ = false;
}
}

Expand Down

0 comments on commit 1dd2c7e

Please sign in to comment.