Error current heartbeatlag (9223372036.85s) is too high

Aperta
#1,444 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 10 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
go, mariadb
Ambito
databases

Direzione di ricerca

Iniziare esaminando TimeSinceLastHeartbeatOnChangelog() e il percorso heartbeat-lag in gh-ost 1.1.6, quindi riprodurre la segnalazione con MariaDB 11.4 e le impostazioni di fuso orario indicate. Determinare perché il timestamp rimane 0001-01-01 e verificare che una migrazione completata riporti un heartbeat lag reale invece di 9223372036.85 secondi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Go
Stelle
13.6k
Fork
1.4k
Merge medio
9g 19h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/gh-ost

Tutte le issue di github/gh-ost

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.