Skip to content

Commit

Permalink
Update go/vt/vttablet/tabletmanager/vreplication/vreplicator.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Olga Shestopalova <olgash@mit.edu>
  • Loading branch information
olyazavr and mattlord authored Sep 12, 2023
1 parent 8c3a59e commit 25d67cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletmanager/vreplication/vreplicator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ func (vr *vreplicator) readExistingRowsCopiedAndUpdateSelfIfNeeded() {
if vr.stats.CopyRowCount.Get() == 0 {
rowsCopiedExisting, err := vr.readExistingRowsCopied(vr.id)
if err != nil {
log.Warningf("failed to read existing rows copied: %v", err)
log.Warningf("Failed to read existing rows copied value for %s worfklow: %v", vr.WorkflowName, err)
} else if rowsCopiedExisting != 0 {
log.Infof("resuming vreplication from another tablet, setting rows copied counter to %v", rowsCopiedExisting)
vr.stats.CopyRowCount.Set(rowsCopiedExisting)
Expand Down

0 comments on commit 25d67cb

Please sign in to comment.