@@ -511,7 +511,7 @@ func (c *Controller) RequestResolvedTsFromLogCoordinator(ctx context.Context, ch
511511 log .Warn ("failed to request resolved ts from log coordinator" ,
512512 zap .Stringer ("target" , id ),
513513 zap .String ("keyspace" , changefeedID .Keyspace ()),
514- zap .String ("changefeedID " , changefeedID .Name ()),
514+ zap .String ("changefeed " , changefeedID .Name ()),
515515 zap .Error (err ))
516516 }
517517 }
@@ -526,7 +526,7 @@ func (c *Controller) RequestResolvedTsFromLogCoordinator(ctx context.Context, ch
526526 case <- waitTimer .C :
527527 log .Warn ("timeout waiting for log coordinator resolved ts" ,
528528 zap .String ("keyspace" , changefeedDisplayName .Keyspace ),
529- zap .String ("changefeedID " , changefeedDisplayName .Name ),
529+ zap .String ("changefeed " , changefeedDisplayName .Name ),
530530 zap .Uint64 ("oldTs" , oldTs ))
531531 return
532532 case <- ticker .C :
@@ -758,7 +758,7 @@ func (c *Controller) handleSingleMaintainerStatus(
758758 if acceptMoveOriginCheckpoint && handoffCheckpointAdvanced {
759759 log .Info ("advance checkpoint from stopping maintainer" ,
760760 zap .String ("keyspace" , cfID .Keyspace ()),
761- zap .String ("changefeedID " , cfID .Name ()),
761+ zap .String ("changefeed " , cfID .Name ()),
762762 zap .Uint64 ("checkpointTs" , status .CheckpointTs ),
763763 zap .Stringer ("nodeID" , from ),
764764 zap .Uint64 ("statusMaintainerEpoch" , status .MaintainerEpoch ),
@@ -768,7 +768,7 @@ func (c *Controller) handleSingleMaintainerStatus(
768768
769769 log .Warn ("drop stale maintainer status" ,
770770 zap .String ("keyspace" , cfID .Keyspace ()),
771- zap .String ("changefeedID " , cfID .Name ()),
771+ zap .String ("changefeed " , cfID .Name ()),
772772 zap .Stringer ("node" , from ),
773773 zap .Uint64 ("statusMaintainerEpoch" , status .MaintainerEpoch ),
774774 zap .Uint64 ("currentMaintainerEpoch" , cf .GetInfo ().Epoch ))
@@ -800,7 +800,7 @@ func (c *Controller) markChangefeedBootstrapped(cf *changefeed.Changefeed, from
800800 if err != nil {
801801 log .Warn ("failed to persist initial bootstrap completion, will retry" ,
802802 zap .String ("keyspace" , cf .ID .Keyspace ()),
803- zap .String ("changefeedID " , cf .ID .Name ()),
803+ zap .String ("changefeed " , cf .ID .Name ()),
804804 zap .Error (err ))
805805 return false
806806 }
@@ -825,7 +825,7 @@ func (c *Controller) handleNonExistentChangefeed(
825825 if op := c .operatorController .GetOperator (cfID ); op == nil {
826826 log .Warn ("no changefeed found and no operator for it, removing from maintainer" ,
827827 zap .String ("keyspace" , cfID .Keyspace ()),
828- zap .String ("changefeedID " , cfID .Name ()),
828+ zap .String ("changefeed " , cfID .Name ()),
829829 zap .Stringer ("sourceNode" , from ),
830830 zap .String ("status" , common .FormatMaintainerStatus (status )))
831831
@@ -854,7 +854,7 @@ func (c *Controller) validateMaintainerNode(
854854 if nodeID != from {
855855 log .Warn ("remote changefeed maintainer nodeID mismatch with local record" ,
856856 zap .String ("keyspace" , cfID .Keyspace ()),
857- zap .String ("changefeedID " , cfID .Name ()),
857+ zap .String ("changefeed " , cfID .Name ()),
858858 zap .Stringer ("localNode" , nodeID ),
859859 zap .Stringer ("remoteNode" , from ))
860860 return false
@@ -883,7 +883,7 @@ func (c *Controller) updateChangefeedStatus(
883883 changeType = ChangeStateAndTs
884884 log .Info ("changefeed status changed" ,
885885 zap .String ("keyspace" , cfID .Keyspace ()),
886- zap .String ("changefeedID " , cfID .Name ()),
886+ zap .String ("changefeed " , cfID .Name ()),
887887 zap .String ("state" , string (state )),
888888 zap .Stringer ("error" , err ))
889889 }
@@ -915,7 +915,7 @@ func (c *Controller) finishBootstrap(ctx context.Context, runningChangefeeds map
915915 if err != nil {
916916 log .Error ("get changefeed failed" ,
917917 zap .String ("keyspace" , id .Keyspace ()),
918- zap .String ("changefeedID " , id .Name ()),
918+ zap .String ("changefeed " , id .Name ()),
919919 zap .Error (err ))
920920 continue
921921 }
@@ -949,7 +949,7 @@ func (c *Controller) finishBootstrap(ctx context.Context, runningChangefeeds map
949949 } else {
950950 log .Info ("changefeed maintainer already running in other server" ,
951951 zap .String ("keyspace" , cfID .Keyspace ()),
952- zap .String ("changefeedID " , cfID .Name ()),
952+ zap .String ("changefeed " , cfID .Name ()),
953953 zap .String ("node" , rm .nodeID .String ()),
954954 zap .String ("status" , common .FormatMaintainerStatus (rm .status )))
955955 cf := changefeed .NewChangefeed (cfID , cfMeta .Info , rm .status .CheckpointTs , false )
@@ -969,7 +969,7 @@ func (c *Controller) finishBootstrap(ctx context.Context, runningChangefeeds map
969969 c .stopStaleBootstrapMaintainers (cfID , staleMaintainers , remove )
970970 log .Info ("stop changefeed when bootstrapping" ,
971971 zap .String ("keyspace" , cfID .Keyspace ()),
972- zap .String ("changefeedID " , cfID .Name ()),
972+ zap .String ("changefeed " , cfID .Name ()),
973973 zap .Uint64 ("checkpointTs" , cfMeta .Status .CheckpointTs ),
974974 zap .Int ("progress" , int (cfMeta .Status .Progress )))
975975 default :
@@ -982,7 +982,7 @@ func (c *Controller) finishBootstrap(ctx context.Context, runningChangefeeds map
982982 for _ , rm := range remotes {
983983 log .Warn ("maintainer not found in local, remove it" ,
984984 zap .String ("keyspace" , id .Keyspace ()),
985- zap .String ("changefeedID " , id .Name ()),
985+ zap .String ("changefeed " , id .Name ()),
986986 zap .String ("node" , rm .nodeID .String ()),
987987 )
988988 _ = c .messageCenter .SendCommand (changefeed .RemoveMaintainerMessage (
@@ -1044,7 +1044,7 @@ func selectBootstrapMaintainer(
10441044 if len (matches ) > 1 {
10451045 log .Panic ("maintainer runs on multiple node" ,
10461046 zap .String ("keyspace" , cfID .Keyspace ()),
1047- zap .String ("changefeedID " , cfID .Name ()),
1047+ zap .String ("changefeed " , cfID .Name ()),
10481048 zap .Stringer ("oldNode" , matches [0 ].nodeID ),
10491049 zap .Stringer ("newNode" , matches [1 ].nodeID ),
10501050 zap .Uint64 ("currentMaintainerEpoch" , currentEpoch ),
@@ -1067,7 +1067,7 @@ func (c *Controller) stopStaleBootstrapMaintainers(
10671067 for _ , stale := range staleMaintainers {
10681068 log .Warn ("ignore running maintainer with stale epoch when bootstrapping" ,
10691069 zap .String ("keyspace" , cfID .Keyspace ()),
1070- zap .String ("changefeedID " , cfID .Name ()),
1070+ zap .String ("changefeed " , cfID .Name ()),
10711071 zap .String ("node" , stale .nodeID .String ()),
10721072 zap .Uint64 ("statusMaintainerEpoch" , stale .status .MaintainerEpoch ),
10731073 zap .String ("status" , common .FormatMaintainerStatus (stale .status )))
@@ -1129,7 +1129,7 @@ func (c *Controller) CreateChangefeed(ctx context.Context, info *config.ChangeFe
11291129 case <- ticker .C :
11301130 log .Warn ("changefeed is in scheduling, wait a moment" ,
11311131 zap .String ("keyspace" , info .ChangefeedID .Keyspace ()),
1132- zap .String ("changefeedID " , info .ChangefeedID .Name ()))
1132+ zap .String ("changefeed " , info .ChangefeedID .Name ()))
11331133 count ++
11341134 }
11351135 }
@@ -1244,7 +1244,7 @@ func (c *Controller) ResumeChangefeed(
12441244 )
12451245 log .Warn ("refuse to resume the changefeed" ,
12461246 zap .String ("keyspace" , id .Keyspace ()),
1247- zap .String ("changefeedID " , id .Name ()),
1247+ zap .String ("changefeed " , id .Name ()),
12481248 zap .Any ("state" , state ))
12491249 return err
12501250 }
@@ -1448,7 +1448,7 @@ func (c *Controller) updateChangefeedEpoch(
14481448 if cf == nil {
14491449 log .Warn ("changefeed not found, skip updating epoch" ,
14501450 zap .String ("keyspace" , id .Keyspace ()),
1451- zap .String ("changefeedID " , id .Name ()))
1451+ zap .String ("changefeed " , id .Name ()))
14521452 return nil
14531453 }
14541454 epoch := pdutil .GenerateChangefeedEpoch (ctx , c .pdClient )
0 commit comments