Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shard now clamps the settings from the initiator. #9447

Merged

Conversation

vitlibar
Copy link
Member

@vitlibar vitlibar commented Feb 28, 2020

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category:

  • Bug Fix

Changelog entry:
Shard now clamps the settings got from the initiator to the shard's constaints instead of throwing an exception. This fix allows to send queries to a shard with another constraints.

@vitlibar vitlibar changed the title Shard now clamps the settings got from the initiator. Shard now clamps the settings from the initiator. Feb 28, 2020
@alexey-milovidov
Copy link
Member

Integration tests are to be updated?

…onstaints instead of throwing an exception.
@vitlibar vitlibar force-pushed the shard-clamps-settings-to-constraints branch from 45dcdb9 to fc0376a Compare February 29, 2020 23:19
@vitlibar vitlibar merged commit 5b4b40f into ClickHouse:master Mar 1, 2020
@vitlibar vitlibar deleted the shard-clamps-settings-to-constraints branch March 1, 2020 17:33
@KochetovNicolai KochetovNicolai added pr-bugfix Pull request with bugfix, not backported by default v20.1-conflicts labels Mar 16, 2020
vitlibar added a commit that referenced this pull request Mar 27, 2020
…raints

Shard now clamps the settings from the initiator.

(cherry picked from commit 5b4b40f)
vitlibar pushed a commit that referenced this pull request Apr 14, 2020
…raints

Shard now clamps the settings from the initiator.

(cherry picked from commit 5b4b40f)
@qoega
Copy link
Member

qoega commented Apr 28, 2020

We have to add good documentation about this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants