Skip to content

IGNITE-29301 Add command for clearing of CDC directory - #13859

Open
shishkovilja wants to merge 3 commits into
apache:masterfrom
shishkovilja:ignite-29301
Open

shishkovilja wants to merge 3 commits into
apache:masterfrom
shishkovilja:ignite-29301

Conversation

@shishkovilja

@shishkovilja shishkovilja commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Adds control.sh --cdc clear [--node-id <id>] [--reset-mode]: deletes WAL segment links and CDC application state on server nodes. The CDC application must be stopped; CDC itself may stay enabled. Use it to start CDC from scratch, e.g. after a long outage or when replication is set up again.

@github-actions

Copy link
Copy Markdown

Possible compatibility issues. Please, check rolling upgrade cases

This PR modifies protected classes (with Order annotation).
Changes to these classes can break rolling upgrade compatibility.

Affected files:

  • modules/core/src/main/java/org/apache/ignite/internal/management/cdc/CdcClearCommandArg.java

@ignitetcbot

Copy link
Copy Markdown
Contributor

TCBot Test Analysis

Possible Blockers (0)

No blockers found.

New Tests (12)

  • Control Utility 2: 12 tests
    • IgniteControlUtilityTestSuite2: CdcCommandTest.testCdcClearOnClientNode[cmdHnd=cli] - PASSED
    • IgniteControlUtilityTestSuite2: CdcCommandTest.testCdcClearOnAllNodes[cmdHnd=cli] - PASSED
    • IgniteControlUtilityTestSuite2: CdcCommandTest.testCdcClearOnOneNode[cmdHnd=cli] - PASSED
    • IgniteControlUtilityTestSuite2: CdcCommandTest.testCdcClearWithResetMode[cmdHnd=cli] - PASSED
    • IgniteControlUtilityTestSuite2: CdcCommandTest.testCdcClearWithResetMode[cmdHnd=jmx] - PASSED
    • IgniteControlUtilityTestSuite2: CdcCommandTest.testCdcCapturesChangesAfterClear[cmdHnd=jmx] - PASSED
    • IgniteControlUtilityTestSuite2: CdcCommandTest.testCdcClearWithLockAcquire[cmdHnd=cli] - PASSED
    • IgniteControlUtilityTestSuite2: CdcCommandTest.testCdcCapturesChangesAfterClear[cmdHnd=cli] - PASSED
    • IgniteControlUtilityTestSuite2: CdcCommandTest.testCdcClearWithLockAcquire[cmdHnd=jmx] - PASSED
    • IgniteControlUtilityTestSuite2: CdcCommandTest.testCdcClearOnClientNode[cmdHnd=jmx] - PASSED
    • ... and 2 more new tests

@apache apache deleted a comment from ignite-pr-checker Nov 24, 2026
@shishkovilja

Copy link
Copy Markdown
Contributor Author

/runall

@ignite-pr-checker

Copy link
Copy Markdown

ℹ️ First command from @shishkovilja for ci2 user shishkovilja: Ignite PR Checker runs the commands of @shishkovilja under that ci2 account.

@ignite-pr-checker

Copy link
Copy Markdown

@shishkovilja ⚠️ No blockers found, 1 suite ran fewer tests than on master · full verdict

  • Cache 21: ran 276 of master's 346 tests (−20%)

Next: find out why they ran fewer tests: a test that never ran can't fail.

RunAll 9522985 · 2ee4ba2 · glossary

♻️ Settled after 1 auto re-run wave: #1 — 1 suite that failed mid-run.

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