Skip to content

CNDB-16269: throw exception and reduce log verbosity when compaction task is rejected#2215

Merged
lesnik2u merged 4 commits intomainfrom
CNDB-16269
Apr 7, 2026
Merged

CNDB-16269: throw exception and reduce log verbosity when compaction task is rejected#2215
lesnik2u merged 4 commits intomainfrom
CNDB-16269

Conversation

@lesnik2u
Copy link
Copy Markdown

What is the issue

CNDB side - https://github.com/riptano/cndb/pull/16429

What does this PR fix and why was it fixed

This pr is a result of this conversation - https://github.com/riptano/cndb/pull/16555#discussion_r2734934442
Refer to this issue https://github.com/riptano/cndb/issues/16269

@github-actions
Copy link
Copy Markdown

Checklist before you submit for review

  • This PR adheres to the Definition of Done
  • Make sure there is a PR in the CNDB project updating the Converged Cassandra version
  • Use NoSpamLogger for log lines that may appear frequently in the logs
  • Verify test results on Butler
  • Test coverage for new/modified code is > 80%
  • Proper code formatting
  • Proper title for each commit staring with the project-issue number, like CNDB-1234
  • Each commit has a meaningful description
  • Each commit is not very long and contains related changes
  • Renames, moves and reformatting are in distinct commits
  • All new files should contain the DataStax copyright header instead of the Apache License one

@sonarqubecloud
Copy link
Copy Markdown

}
else
assert inProgressReported.get() == progress; // progress object must also be shared
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice to assert that progress.operationId() matches the parentId in onInProgress

Copy link
Copy Markdown

@jasonstack jasonstack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lesnik2u lesnik2u force-pushed the CNDB-16269 branch 2 times, most recently from 70ba648 to 7dea9d0 Compare March 9, 2026 13:57
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 3, 2026

@cassci-bot
Copy link
Copy Markdown

❌ Build ds-cassandra-pr-gate/PR-2215 rejected by Butler


4 regressions found
See build details here


Found 4 new test failures

Test Explanation Runs Upstream
o.a.c.distributed.test.sai.SlowSAIQueryLoggerTest.testSlowSAIQueryLogger REGRESSION 🔴🔴 1 / 30
o.a.c.index.sai.cql.VectorCompaction100dTest.testZeroOrOneToManyCompaction[version=ec enableNVQ=false] REGRESSION 🔴 0 / 30
o.a.c.index.sai.cql.VectorKeyRestrictedOnPartitionTest.partitionRestrictedWidePartitionBqCompressedTest[version=ca enableNVQ=false enableFused=false] REGRESSION 🔴 0 / 30
o.a.c.index.sai.cql.VectorSiftSmallTest.testSiftSmall[version=fa enableNVQ=false enableFused=false] REGRESSION 🔴 0 / 30

Found 8 known test failures

@lesnik2u lesnik2u merged commit 718a489 into main Apr 7, 2026
2 of 4 checks passed
@lesnik2u lesnik2u deleted the CNDB-16269 branch April 7, 2026 09:07
blambov pushed a commit that referenced this pull request Apr 8, 2026
…task is rejected (#2215)

CNDB side - riptano/cndb#16429

Pass parentId explicitly to SharedCompactionObserver instead of deriving it from inProgressReported, fixing error propagation and removing the dependency on onInProgress being called before onCompleted.

This pr is a result of this conversation -
riptano/cndb#16555 (comment)
Refer to this issue riptano/cndb#16269
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.

3 participants