Description:
I see this in logging:
2022-10-06T05:01:10.576060Z 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error retrieving server information.'
2022-10-06T05:01:42.577875Z 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error retrieving server information.'
2022-10-06T05:02:14.593657Z 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error retrieving server information.'
2022-10-06T05:02:24.594231Z 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error retrieving server information.'
2022-10-06T05:03:04.614942Z 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error retrieving server information.'
The error is not very helpful as it does not provide any useful information to me.
How to repeat:
Setup GR and you might see the log entries above.
Suggested fix:
Improve logging to show:
- which server was being talked to. I guess one of the other cluster members.
- if possible which action was being attempted, unless "retrieving server information" is the action. If that's the case what information.
- potentially if you can provide further details of WHY you can't retrieve the information and report any error that was obtained while trying to do that.
I would expect to see a line like:
2022-10-06T05:03:04.614942Z 0 [ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Error retrieving server information.' from <hostname_or_ip>:<port>: <error or other message to provide further details>