Skip to content

Commit

Permalink
fix test failures for TestIntegrationKopia
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Nov 2, 2024
1 parent 351c053 commit f367685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backup/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@ func (b *Backuper) checkReplicaAlreadyExistsAndChangeReplicationPath(ctx context
isReplicaPresent := uint64(0)
fullReplicaPath := path.Join(resolvedReplicaPath, "replicas", resolvedReplicaName)
if err = b.ch.SelectSingleRow(ctx, &isReplicaPresent, "SELECT count() FROM system.zookeeper WHERE path=?", fullReplicaPath); err != nil {
log.Fatal().Msgf("can't check replica %s in system.zookeeper error: %v", fullReplicaPath, err)
log.Warn().Msgf("can't check replica %s in system.zookeeper error: %v", fullReplicaPath, err)
}
if isReplicaPresent == 0 {
return
Expand Down

0 comments on commit f367685

Please sign in to comment.