Skip to content

CNDB-13303: Made warn log regarding obsolete property less spammy.#2229

Open
MSpryszynski wants to merge 1 commit intomainfrom
cndb-13303
Open

CNDB-13303: Made warn log regarding obsolete property less spammy.#2229
MSpryszynski wants to merge 1 commit intomainfrom
cndb-13303

Conversation

@MSpryszynski
Copy link

@MSpryszynski MSpryszynski commented Feb 12, 2026

Made warn log regarding obsolete property less spammy by configuring threshold for repetition per property.

What is the issue

There are reoccurring logs "Ignoring obsolete property nodesync" which provide no context other than that this property is still being used.

Fixes https://github.com/riptano/cndb/issues/13303

What does this PR fix and why was it fixed

Implements mechanism that allow logging single obsolete property once per 30s. It should significantly decrease number of logs and still be equally useful as we do have information that somebody is using this obsolete property.

@github-actions
Copy link

github-actions bot commented Feb 12, 2026

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

…configuring threshold for repetition per property.
@sonarqubecloud
Copy link

@cassci-bot
Copy link

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


4 regressions found
See build details here


Found 4 new test failures

Test Explanation Runs Upstream
o.a.c.index.sai.cql.VectorCompaction100dTest.testZeroOrOneToManyCompaction[eb true] REGRESSION 🔴 0 / 14
o.a.c.index.sai.cql.VectorSiftSmallTest.testSiftSmall[ed false false] REGRESSION 🔴 0 / 14
o.a.c.net.ConnectionTest.testTimeout REGRESSION 🔴 0 / 14
o.a.c.net.ProxyHandlerConnectionsTest.testExpireSomeFromBatch (compression) REGRESSION 🔴🔵 0 / 14

Found 4 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.

2 participants