Skip to content

Commit

Permalink
[Doc] Fix Max Queue default (#34041)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5812ac2)

# Conflicts:
#	docs/reference/System_variable.md
  • Loading branch information
EsoragotoSpirit authored and mergify[bot] committed Oct 31, 2023
1 parent c588ad4 commit 10514ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/administration/query_queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can set the capacity of a query queue and the maximum timeout of queries in

| **Variable** | **Default** | **Description** |
| ---------------------------------- | ----------- | ------------------------------------------------------------ |
| query_queue_max_queued_queries | 0 | The upper limit of queries in a queue. When this threshold is reached, incoming queries are rejected. It takes effect only after being set greater than `0`. |
| query_queue_max_queued_queries | 1024 | The upper limit of queries in a queue. When this threshold is reached, incoming queries are rejected. It takes effect only after being set greater than `0`. |
| query_queue_pending_timeout_second | 300 | The maximum timeout of a pending query in a queue. When this threshold is reached, the corresponding query is rejected. Unit: second. |

## View query queue statistics
Expand Down
4 changes: 4 additions & 0 deletions docs/reference/System_variable.md
Original file line number Diff line number Diff line change
Expand Up @@ -501,10 +501,14 @@ The variables are described **in alphabetical order**. Variables with the `globa

* streaming_preaggregation_mode

<<<<<<< HEAD
Used to specify the preaggregation mode for the first phase of GROUP BY. If the preaggregation effect in the first phase is not satisfactory, you can use the streaming mode, which performs simple data serialization before streaming data to the destination. Valid values:
* `auto`: The system first tries local preaggregation. If the effect is not satisfactory, it switches to the streaming mode. This is the default value.

Check failure on line 506 in docs/reference/System_variable.md

View workflow job for this annotation

GitHub Actions / markdownlint

Unordered list indentation [Expected: 0; Actual: 2]

Check failure on line 506 in docs/reference/System_variable.md

View workflow job for this annotation

GitHub Actions / markdownlint

Lists should be surrounded by blank lines [Context: "* `auto`: The system first tri..."]
* `force_preaggregation`: The system directly performs local preaggregation.

Check failure on line 507 in docs/reference/System_variable.md

View workflow job for this annotation

GitHub Actions / markdownlint

Unordered list indentation [Expected: 0; Actual: 2]
* `force_streaming`: The system directly performs streaming.

Check failure on line 508 in docs/reference/System_variable.md

View workflow job for this annotation

GitHub Actions / markdownlint

Unordered list indentation [Expected: 0; Actual: 2]
=======
The upper limit of queries in a queue. When this threshold is reached, incoming queries are rejected. It takes effect only after being set greater than `0`. Default: `1024`.

Check failure on line 510 in docs/reference/System_variable.md

View workflow job for this annotation

GitHub Actions / markdownlint

Lists should be surrounded by blank lines [Context: "The upper limit of queries in ..."]
>>>>>>> 5812ac23fb ([Doc] Fix Max Queue default (#34041))
* system_time_zone

Expand Down

0 comments on commit 10514ae

Please sign in to comment.