Skip to content

CNDB-13742 ReadCallback logs when replica doesn't respond#2237

Closed
zgorzalyj wants to merge 6 commits intomainfrom
CNDB-13742
Closed

CNDB-13742 ReadCallback logs when replica doesn't respond#2237
zgorzalyj wants to merge 6 commits intomainfrom
CNDB-13742

Conversation

@zgorzalyj
Copy link

Summary

https://github.com/riptano/cndb/issues/13742
Lack of information when replica doesn't respond.
Changes

Add new log which contains information about timeout

@github-actions
Copy link

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

@jtgrabowski
Copy link

@driftx could you please review this one and let Jakub know if he's going in the right direction?

Copy link

@driftx driftx left a comment

Choose a reason for hiding this comment

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

There is significant formatting "noise" that may be the result of an IDE setting, I'm not sure, but otherwise this appears to be on the right path.

import java.util.Optional;

import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
Copy link

Choose a reason for hiding this comment

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

Was this necessary for something?

Copy link
Author

Choose a reason for hiding this comment

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

It was only occurrence of commons-lang. Everywhere else we use commons-lang3, so I updated it here for consistency

@zgorzalyj zgorzalyj force-pushed the CNDB-13742 branch 2 times, most recently from fbb02ae to fcfbe3b Compare March 10, 2026 11:18
@zgorzalyj zgorzalyj marked this pull request as ready for review March 10, 2026 11:19
…llback

- Add timeout logging with elapsed time for both failure and timeout scenarios
- Add unit tests to verify MonotonicClock usage in timeout logging
- Update CompactionParams to use commons-lang3 instead of commons-lang
@zgorzalyj zgorzalyj closed this Mar 19, 2026
@zgorzalyj zgorzalyj deleted the CNDB-13742 branch March 19, 2026 15:28
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@cassci-bot
Copy link

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


3 regressions found
See build details here


Found 3 new test failures

Test Explanation Runs Upstream
o.a.c.index.sai.cql.VectorCompaction100dTest.testOneToManyCompaction[eb false] NEW 🔴🔴 0 / 30
o.a.c.index.sai.cql.VectorSiftSmallTest.testSiftSmall[ec false] NEW 🔴 0 / 30
o.a.c.index.sai.disk.v1.SegmentFlushTest.testFlushBetweenRowIds[aa] REGRESSION 🔴 3 / 30

Found 5 known test failures

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.

4 participants