analytics icon indicating copy to clipboard operation
analytics copied to clipboard

Clear sessions cache on transfer

Open zoldar opened this issue 4 months ago • 1 comments

Changes

This PR implements clearing session cache on complete transfer in order to avoid making the already transferred session stale. To further prevent this, both, session and event WriteBuffer processes are blocked for the duration of the transfer.

The feature is behind an ENV feature flag, CLICKHOUSE_SESSION_LOCK_ENABLED which defaults to false. Enabling it will require adjusting config on infra level.

Tests

  • [x] Automated tests have been added

zoldar avatar Aug 04 '25 11:08 zoldar

Preview environment👷🏼‍♀️🏗️
PR-5608

github-actions[bot] avatar Aug 05 '25 08:08 github-actions[bot]