wsrep_cluster_size at 0 when syncing from earlier version

Description

When doing a rolling upgrade from 5.7 to 8.0, wsrep_cluster_size will be at 0

(pxc_cluster_view as well)

 

How to reproduce

 

From other nodes:

Workaround:

restart MySQL, and it shows the correct number.

 

Could relate to https://jira.mariadb.org/browse/MDEV-20439

Environment

None

AFFECTED CS IDs

CS0034157

Activity

Show:
Done

Details

Assignee

Reporter

Needs Review

Yes

Needs QA

Yes

Priority

Smart Checklist

Created February 24, 2023 at 1:32 PM
Updated March 6, 2024 at 8:44 PM
Resolved April 10, 2023 at 5:38 PM