CAS: configurable mount lease timing - #2307
Conversation
Signed-off-by: Konstantin Morozov <just.morozov.k@gmail.com>
Signed-off-by: Konstantin Morozov <just.morozov.k@gmail.com>
|
Thanks, the change itself is fine and it does control the hard-restart pause: the wait is A few points:
|
Added settings to configure the CAS mount lease TTL and renewal period. The lightweight delete hard-restart test kills ClickHouse 100 times, and the default 30-second lease causes about 36.5 seconds of recovery waiting after every kill, making the test run for more than an hour. Test configurations can now use shorter lease timings to reduce CI duration. These settings are also useful in production because they control the balance between recovery time, object-storage delays, and lease renewal frequency.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Added settings to configure the CAS mount lease TTL and renewal period.
Documentation entry for user-facing changes
...
CI/CD Options
Exclude tests:
Regression jobs to run: