Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go over command outputs and ensure no information is lost in the transition; e.g. the workflow show output #14213

Closed
Tracked by #12152
mattlord opened this issue Oct 9, 2023 · 0 comments · Fixed by #14225
Assignees
Milestone

Comments

@mattlord
Copy link
Contributor

mattlord commented Oct 9, 2023

For show it's time_heartbeat, time_throttled, component_throttled, defer_secondary_keys, rows_copied that we lose in vtctldclient:

  • vtctlclient:
    query := `select
    id,
    source,
    pos,
    stop_pos,
    max_replication_lag,
    state,
    db_name,
    time_updated,
    transaction_timestamp,
    time_heartbeat,
    time_throttled,
    component_throttled,
    message,
    tags,
    workflow_type,
    workflow_sub_type,
    defer_secondary_keys,
    rows_copied
    from _vt.vreplication`
  • vtctldclient:
    query := fmt.Sprintf(`
    SELECT
    id,
    workflow,
    source,
    pos,
    stop_pos,
    max_replication_lag,
    state,
    db_name,
    time_updated,
    transaction_timestamp,
    message,
    tags,
    workflow_type,
    workflow_sub_type
    FROM
    _vt.vreplication
    %s`,
    where,
    )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant