Backport #11920 to 20.5: Fix using current database while checking access rights.#11963
Merged
Backport #11920 to 20.5: Fix using current database while checking access rights.#11963
Conversation
After the main test, run queries from `website.xml` in parallel using `clickhouse-benchmark`. This can be useful to test the effects of concurrency on performance. Comparison test can miss some effects because it always runs queries sequentially, and many of them are even single-threaded.
This PR adds a server level config for overriding the default max number of threads in global thread pool that is currently allowed (10,000). This might be useful in scenarios where there are a large number of distributed queries that are executing concurrently and where the default number of max threads might not be necessarily be sufficient.
This adds the `max_thread_pool_size` config to tests/server-test.xml file.
This adds the docs for the new server level setting `max_thread_pool_size`.
They keep removing the old image every couple of weeks, and the entire docker update fails.
Keep aliases for substitutions in query.
In case of OSX jemalloc register itself as a default zone allocator. But when you link statically then zone_register() will not be called, and even will be optimized out: $ nm clickhouse.patched | grep -c zone_register 0 Fix this, by manually calling it. v2: extern C
remove unused headers
Fix jemalloc under OSX (by registering it as default zone explicitly)
Add concurrent benchmark to performance test
Put clickhouse-local data to /tmp by default
…t-database Fix using current database while checking access rights.
…f7a4489166d9ef4db68ac7d528287 Cherry pick #11920 to 20.5: Fix using current database while checking access rights.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original pull-request #11920
Cherry-pick pull-request #11956