Skip to content

Commit

Permalink
feat: auto config for vttablet
Browse files Browse the repository at this point in the history
  • Loading branch information
earayu committed Dec 6, 2024
1 parent 7d926d1 commit 480e8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/cmd/vttablet/vttablet.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func main() {
mysqld := mysqlctl.NewMysqld(config.DB)
server_id, err := mysqld.GetServerID(context.Background())
if err != nil {
log.Exitf("failed to get server id: %v", err)
log.Warningf("failed to get server id: %v", err)
}
tabletPath = fmt.Sprintf("%s-%010d", cell, server_id)
if tabletPath == "" {
Expand Down

0 comments on commit 480e8cb

Please sign in to comment.