Error current heartbeatlag (9223372036.85s) is too high

Abierto
#1,444 3 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 10 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
go, mariadb
Área
databases

Línea de trabajo

Comience inspeccionando TimeSinceLastHeartbeatOnChangelog() y la ruta de heartbeat-lag en gh-ost 1.1.6; después, reproduzca el informe con MariaDB 11.4 y la configuración de zona horaria indicada. Determine por qué la marca de tiempo sigue siendo 0001-01-01 y verifique que una migración completada informe de una latencia real del heartbeat en lugar de 9223372036.85 segundos.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hi all, I want to ask about gh-ost migration.
When I run gh-ost migration on my virtual machine and the progress reached 100%, it got error log current heartbeatlag 9223372036.85s is too high, it needs to be less than both --max-lag-millis (1.50s) and --cut-over-lock-timeout-seconds (3.00) to continue.
Here is the current specification:

  1. gh-ost version is 1.1.6
  2. using MariaDB version 11.4

What I have done are:

  1. Upgrading the gh-ost version from 1.1.5 into 1.1.6
  2. Running the gh-ost command without --max-lag-millis
  3. Reseting the master database to refresh the replica
  4. Run ANALYZE TABLE to refresh the performance schema
  5. Also I have set the timezone setting into UTC+7 to comply with my current timezone in Indonesia by running this SQL: SET GLOBAL time_zone = '+07:00'; and SET time_zone = '+07:00';

So I'm curious about the printed value of TimeSinceLastHeartbeatOnChangelog(), I decide to debug it on my local by print its value, but it shows 0001-01-01 00:00:00 +0000 UTC, hence the heartbeat lag value become extremely huge.

Do you have any idea why this happens? Will appreciate any help given for this issue.
Thanks in advance!

Attachments:
Screen Shot 2024-08-19 at 12 53 59

Lenguaje dominante
Go
Estrellas
13.6k
Forks
1.4k
Merge medio
9 d 19 h
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github/gh-ost

Todos los issues de github/gh-ost

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.