Skip to content

Conversation

@zxzharmlesszxz
Copy link

@zxzharmlesszxz zxzharmlesszxz commented Oct 17, 2025

…-schema-change

Avoids "Use of uninitialized value in string eq" warnings in ReplicaLagWaiter by safely handling undefined DSN host/port values. This change uses the defined-or operator (// '') to ensure comparisons work even when DSN fields are not initialized, preventing unnecessary reconnections to replicas.

  • The contributed code is licensed under GPL v2.0
  • Contributor Licence Agreement (CLA) is signed
  • util/update-modules has been ran
  • Documentation updated
  • Test suite update

…-schema-change

Avoids "Use of uninitialized value in string eq" warnings in ReplicaLagWaiter
by safely handling undefined DSN host/port values. This change uses the
defined-or operator (// '') to ensure comparisons work even when DSN fields
are not initialized, preventing unnecessary reconnections to replicas.
@it-percona-cla
Copy link

it-percona-cla commented Oct 17, 2025

CLA assistant check
All committers have signed the CLA.

@zxzharmlesszxz zxzharmlesszxz changed the title Fix undefined value warnings when comparing replica DSNs in pt-online… Fix replica tracking and undefined DSN value warnings in pt-online-schema-change Oct 24, 2025
@zxzharmlesszxz
Copy link
Author

without this changes replica lag working only when servers on host table

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants