Skip to content

Conversation

@Vincent-lau
Copy link
Contributor

Add a @default attribute to the cluster_stack field in the cluster config. This field was introduced in #c1bd0e31a but causes RPU to fail since it is not optional, and while xapi-clusterd was unmarshalling an old db (which contains cluster config), it cannot find this field, and throws an exception.

Adding @default can make the rpc library to fill this field in when it is missing, solving the above problem.

Manul test looks ok, waiting for xrt tests.

Add a `@default` attribute to the `cluster_stack` field in the cluster
config. This field was introduced in #c1bd0e31a but causes RPU to fail
since it is not optional, and while xapi-clusterd was unmarshalling an
old db (which contains cluster config), it cannot find this field, and
throws an exception.

Adding `@default` can make the rpc library to fill this field in when it
is missing, solving the above problem.

Signed-off-by: Vincent Liu <shuntian.liu2@cloud.com>
Copy link
Contributor

@MarkSymsCtx MarkSymsCtx left a comment

Choose a reason for hiding this comment

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

LGTM

@minglumlu minglumlu merged commit ff0c97e into xapi-project:master Jun 6, 2024
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.

4 participants