Skip to content

Conversation

@FxKu
Copy link
Member

@FxKu FxKu commented Dec 15, 2021

In GitHub e2e tests we see the following error:

cannot unmarshal string into Go struct field ClusterMember.members.lag of type int

Turns out Patroni can return the string value "unknown" for replica lag - e.g. in case there's no leader. The operator must deal with this by using the IntOrString type by intstr lib.

Will take the chance to rename the field simply to Lag.

@FxKu FxKu added this to the 1.8 milestone Dec 15, 2021
s3_wal_path:
type: string
gs_wal_path:
type: string
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leftover from #1446

@FxKu
Copy link
Member Author

FxKu commented Dec 16, 2021

👍

1 similar comment
@Jan-M
Copy link
Member

Jan-M commented Dec 17, 2021

👍

@FxKu FxKu merged commit 411abbe into master Dec 17, 2021
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.

3 participants