Skip to content

Commit

Permalink
ddl: address a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Apr 18, 2023
1 parent b90d4db commit 20ef032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/syncer/state_syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (s *serverStateSyncer) GetGlobalState(ctx context.Context) (*StateInfo, err
}
err = state.Unmarshal(kvs[0].Value)
if err != nil {
logutil.BgLogger().Info("get global state failed", zap.String("key", s.etcdPath), zap.ByteString("value", kvs[0].Value), zap.Error(err))
logutil.BgLogger().Warn("get global state failed", zap.String("key", s.etcdPath), zap.ByteString("value", kvs[0].Value), zap.Error(err))
return nil, errors.Trace(err)
}
s.clusterState = state
Expand Down

0 comments on commit 20ef032

Please sign in to comment.