-
Notifications
You must be signed in to change notification settings - Fork 21
CNDB-13534: Add RequestFailureReason.FEATURE_NEEDS_INDEX_REBUILD #1781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I looked at the test failures reported above by Butler and they all look like known failing or flaky tests on the 5.0 test failure list I don't think Butler knows how to do a correct comparison with One thing, if you didn't do it already, is to run the "verify" script that I think I mentioned previously - it identified all the unit and distributed tests that were touched by the most recent commit and executes them. For a relatively large commit like this, that's my typical method of verifying the port |
I checked out the branch and got a compile error:
Then I realized the CI build has the same error - weird that it ran tests if the build part had a problem 🤷🏻 |
I think that was because your commits got in and caused a small conflict that I resolved in the web interface. I've rebased and pushed it now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SAI_CURRENT_VERSION
property in CassandraRelevantProperties
should be placed in alphabetical order in 5.0.
src/java/org/apache/cassandra/config/CassandraRelevantProperties.java
Outdated
Show resolved
Hide resolved
The new request failure reason should be used when the on-disk format of an index in a replica doesn't support a requested feature. Also, rename org.apache.cassandra.index.sai.disk.format.Version.latest() to Version.current(), and add separate Version.CURRENT and Version.LATEST constants.
Butler results are easier to read now - there are some failures in these new tests that were added |
That wasn't needed in main because there's no BM25 feature to test, and so no backwards compatibility issues to handle. |
|
❌ Build ds-cassandra-pr-gate/PR-1781 rejected by Butler15 new test failure(s) in 5 builds Found 15 new test failures
Found 115 known test failures |
The main difference was porting FeatureNeedsIndexRebuildException.