Skip to content

CAS: gc scheduler stop join race - #2326

Open
k-morozov wants to merge 1 commit into
antalya-26.6from
cas/gc-scheduler-stop-join-race
Open

CAS: gc scheduler stop join race#2326
k-morozov wants to merge 1 commit into
antalya-26.6from
cas/gc-scheduler-stop-join-race

Conversation

@k-morozov

@k-morozov k-morozov commented Sep 8, 2026

Copy link
Copy Markdown

Details

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Fixed races in the CAS GC scheduler lifecycle and made SYSTEM CAS GC START recover safely from worker scheduling failures.

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

Signed-off-by: Konstantin Morozov <just.morozov.k@gmail.com>
@k-morozov

Copy link
Copy Markdown
Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-08T10:24:14.279889Z 0e85e88 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 0e85e88b51

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@k-morozov
k-morozov marked this pull request as ready for review September 8, 2026 11:56
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Workflow [PR], commit [0e85e88]

@ilejn

ilejn commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

@k-morozov , could you describe a scenario that requires this hardening?
May be we have an issue and/or a stacktrace?
Or a particular item in mounts-and-lifecycle.md?
Hm ... actually it is CasGcScheduler::stop joins the worker threads outside the mutex that guards them (2031-triage CAS-050) {#gc-scheduler-stop-join-race}

@k-morozov

Copy link
Copy Markdown
Author

@k-morozov , could you describe a scenario that requires this hardening? May be we have an issue and/or a stacktrace? Or a particular item in mounts-and-lifecycle.md? Hm ... actually it is CasGcScheduler::stop joins the worker threads outside the mutex that guards them (2031-triage CAS-050) {#gc-scheduler-stop-join-race}

Not quite. Start and stop have a guard on the level above in current design. Data race related with requestRoundSoon (checking joinable without lock).

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants