Skip to content

Add configurable backend cleanup and Greengage integration tests - #281

Open
vadv wants to merge 12 commits into
ozontech:masterfrom
vadv:feat/configurable-backend-cleanup
Open

vadv wants to merge 12 commits into
ozontech:masterfrom
vadv:feat/configurable-backend-cleanup

Conversation

@vadv

@vadv vadv commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Add global and per-pool cleanup_server_query with adaptive, always, and off policies, so deployments can choose reset SQL supported by their backend. The default remains selective built-in cleanup; existing boolean settings remain compatible.

Cleanup failures retire the backend while preserving completed client responses, including successful COMMIT. NOTICE messages remain informational. Client reset batches continue to suppress redundant built-in cleanup, while configured cleanup retains its own policy.

  • Cover configuration inheritance and reload, prepared statements, startup parameters, asynchronous protocol boundaries, and cleanup metrics with BDD scenarios.
  • Add make test-greengage and a CI job using a pinned Greengage 7.5 image, a coordinator, and two primary segments. Tests cover backend reuse, distributed reset behavior, and the partial effect of Greengage's DISCARD ALL.
  • Update configuration examples and Russian/English documentation.
  • Restrict Launchpad publishing to releases and remove the missing frontend-file dependency that caused repeated Rust builds.

vadv added 12 commits September 21, 2026 11:53
Keep NOTICE responses informational and restore built-in client RESET suppression. Avoid replaying Greengage startup metadata and remove duplicate cleanup warnings.

Add a disposable pinned Greengage cluster to the Docker Nix runner and CI, cover cleanup and RELOAD behavior with BDD, and update Russian and English documentation.
Track the actual frontend bundle through the existing directory and recursive file watches. Remove the nonexistent index.html dependency that made every Cargo invocation rebuild pg_doorman.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant