Skip to content
Snippets Groups Projects

fix: failed to read replication lag: cannot assign NULL to int

Merged Vitaliy Kukharik requested to merge fix-lag-query-null into master

Description

We get an error if the sync instance (for some reason) is not in recovery mode, since the request in this case returned NULL.

Fixed:

2022/09/23 18:52:51 retrieval_status.go:108: [WARNING] Failed to fetch replication lag failed to read replication lag: can't scan into dest[0]: cannot assign NULL to *int

Related issue

Examples

Checklist

  • MR description has been reviewed
  • MR changes are functionally tested
  • MR does NOT have text changes OR there are text changes and they have been reviewed
  • MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed
  • MR does NOT have UI changes OR there are UI changes and they have been reviewed

Merge request reports

Merge request pipeline #649345070 passed

Merge request pipeline passed for f08c84cf

Merged by Vitaliy KukharikVitaliy Kukharik 2 years ago (Sep 26, 2022 2:30pm UTC)

Loading

Pipeline #650883975 passed

Pipeline passed for b73f2ec9 on master

Deployed to produ‎ction‎ 2 years ago
Deployed to sta‎ging‎ 2 years ago

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading