Skip to content

Commit

Permalink
add more logging to shutdown process
Browse files Browse the repository at this point in the history
  • Loading branch information
DocSavage committed May 29, 2024
1 parent 2976699 commit daec88c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions storage/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ func KafkaShutdown() {
} else {
dvid.Infof("Successfully shut down kafka producer.\n")
}
dvid.Infof("Kafka closed.")
} else {
dvid.Infof("Kafka producer was nil so unnecessary to close.")
}
}

Expand Down
1 change: 1 addition & 0 deletions storage/storage_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ func Shutdown() {
store.Close()
}
manager.setup = false
dvid.Infof("Finished closing all stores.\n")
}
KafkaShutdown()
manager = managerT{}
Expand Down

0 comments on commit daec88c

Please sign in to comment.