Repository navigation
Multisite 4.1.5 - #25
Merged
Merged
Conversation
) Wrap the response-writing in `RestApiHandler.write_response()` in `try/except ConnectionError` and log it at `DEBUG` instead. `ConnectionError` is the base class of `ConnectionResetError`, `BrokenPipeError` and `ConnectionAbortedError`, so the common "client went away mid-write" variants are all covered. Any genuine (non-connection) error still propagates exactly as before.
patroni#3681) The synchronous_mode configuration option accepts three types of values at runtime (via global_config.py): boolean, PostgreSQL-style boolean strings (on/off/yes/no/true/false/1/0), and the special 'quorum' string. However, the config validator (patroni --validate-config) only accepted strict Python bool, rejecting valid values like 'quorum' with: 'synchronous_mode quorum is not a boolean' This adds a validate_synchronous_mode() function that mirrors the runtime logic by using parse_bool() for boolean-like strings and explicit check for 'quorum', keeping validator.py consistent with global_config.py. Fixes patroni#3606 --------- Co-authored-by: eray.araz <eray.araz@trendyol.com>
- Move memory warning for Python 3.11+ to the Configuration section - Adjust formatting
The `thread_stack_size` schema entry aligns on `65535` instead of
`65536`:
```python
Optional("thread_stack_size"): IntValidator(min=65536, base_unit='B', aligned=65535, ...)
```
`IntValidator` checks `value % aligned == 0`, so with `aligned=65535`
every realistic stack size is rejected by `patroni --validate-config`,
including the `524288` default that the daemon itself applies
(`daemon.py`) and every power-of-two / page-multiple value. Only
multiples of 65535 pass, which are exactly the values
`threading.stack_size()` refuses at runtime.
`65536` (64 KiB) is a multiple of every common page size and matches the
`min`, so this is a one-character typo. Changing it to `65536` makes the
validator accept the values the runtime already accepts.
Introduced in patroni#3526.
### Tests
Added `test_thread_stack_size` covering that the `524288` default passes
and a non-aligned value (`65535`) is still rejected.
added new GUC, `output_plugin_libraries`, which restricts logical decoding output plugins
- Update RNs - Update version
hughcapet
approved these changes
Aug 14, 2026
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.
Merge in new release.