Merge pull request #64865 from ClickHouse/melvynator-patch-2

Added settings about lightweight deletes
This commit is contained in:
Alexey Milovidov 2024-06-06 03:32:39 +02:00 committed by GitHub
commit d561f50965
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3170,6 +3170,18 @@ Possible values:
Default value: `0`.
## lightweight_deletes_sync {#lightweight_deletes_sync}
The same as 'mutation_sync', but controls only execution of lightweight deletes.
Possible values:
- 0 - Mutations execute asynchronously.
- 1 - The query waits for the lightweight deletes to complete on the current server.
- 2 - The query waits for the lightweight deletes to complete on all replicas (if they exist).
Default value: `2`.
**See Also**
- [Synchronicity of ALTER Queries](../../sql-reference/statements/alter/index.md#synchronicity-of-alter-queries)