Skip to content

Don't allow distributed queries across servers with different CPU architecture. #22581

@alexey-milovidov

Description

@alexey-milovidov

Use case

If some of cluster nodes are x86_64 and some are aarch64, the result of distributed query may be incorrect due to different hash functions used to split data into buckets.

Describe the solution you'd like

Add architecture identifier to ClientInfo. Throw exception if client has different architecture than the server and query processing is requested up to WithMergeableState.

Normal client requests should be allowed to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions