Skip to content

Commit

Permalink
[Distributed] Fix star server stop issue. (DeepRec-AI#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanshanpt authored Oct 19, 2021
1 parent 8b37678 commit d04d47c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tensorflow/contrib/star/star_server_base_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,7 @@ Status StarServerBase::Stop() {
return Status::OK();
case STARTED:
LOG(WARNING) << "Clean shutdown is not currently implemented";
server_->Shutdown();
master_service_->Shutdown();
state_ = STOPPED;
return Status::OK();
return errors::Unimplemented("Clean shutdown is not currently implemented");
case STOPPED:
LOG(INFO) << "Server already stopped (target: " << target() << ")";
return Status::OK();
Expand Down

0 comments on commit d04d47c

Please sign in to comment.