Open
Conversation
If a user has only MODIFY permission on a table and there is a materialized view built on the same table an insert will fail with the following error: Unauthorized: Error from server: code=2100 [Unauthorized] Only base MODIFY permission is required to update base with MV. Co-authored-by: Zhao Yang <zhao.yang@datastax.com> (cherry picked from commit 55dad39) (cherry picked from commit f1e441e) (cherry picked from commit 4c7c22c) (cherry picked from commit 68417f7) (cherry picked from commit ada0915) (cherry picked from commit 16f64c7) (cherry picked from commit bdae9c6) (cherry picked from commit c254d79) rebase notes: will be upstreamed in CASSANDRA-20628
Port of DB-1511, riptano/apollo-dtest#197 Co-authored-by: Zhao Yang <zhaoyangsingapore@gmail.com> (cherry picked from commit c7beefc) (cherry picked from commit a02abc6) (cherry picked from commit 387d688) (cherry picked from commit d219834) (cherry picked from commit bf19a8d) (cherry picked from commit 2ce0618) (cherry picked from commit 113022a) (cherry picked from commit 4e9590c)
(cherry picked from commit 8c96801) (cherry picked from commit 8f68014) (cherry picked from commit c204342) (cherry picked from commit fea5074) (cherry picked from commit f4f6f56) (cherry picked from commit f98efec) (cherry picked from commit 626db14) (cherry picked from commit ca0fb18) (cherry picked from commit 79db6a5)
…mat as specified for the test Also made a small refactoring of dtest_config.py (cherry picked from commit 1253168) (cherry picked from commit 66b7cba) (cherry picked from commit fb9042e) (cherry picked from commit 1369b31) (cherry picked from commit 8c34af1) (cherry picked from commit 604884f) (cherry picked from commit d5c8692)
The message is expected since bloom filter is not recreated when there is no index. (cherry picked from commit f7684e4) (cherry picked from commit 8ebfd4e) (cherry picked from commit 4bb4236) (cherry picked from commit aac2b4d) (cherry picked from commit 200a8da) (cherry picked from commit 5e86185) (cherry picked from commit 3ecb300)
(cherry picked from commit 353b1f1) (cherry picked from commit 1cbc8d5) (cherry picked from commit ee9b612) (cherry picked from commit e3e226a) (cherry picked from commit b527853) (cherry picked from commit 581f69b) (cherry picked from commit d048221) (cherry picked from commit fe78fdb) (cherry picked from commit c3eaa83)
* STAR-254 add tests for geo and date range types (cherry picked from commit d15a708) (cherry picked from commit 5bd412f) (cherry picked from commit 3a6ba36) (cherry picked from commit 8a10d56) (cherry picked from commit 30e81dc) (cherry picked from commit 5600c72) (cherry picked from commit b45414e) (cherry picked from commit 8080990) (cherry picked from commit ba3f669)
(cherry picked from commit eb3049c) (cherry picked from commit fe23e0b) (cherry picked from commit af5e094) (cherry picked from commit caaa548) (cherry picked from commit 31b6a86) (cherry picked from commit c32760d) (cherry picked from commit abc36a8) (cherry picked from commit 510ee55) (cherry picked from commit c7d5965)
Co-authored-by: Robert Stupp <snazy@snazy.de> (cherry picked from commit 33e486a) (cherry picked from commit 9fbd1b3) (cherry picked from commit c479ab3) (cherry picked from commit 6c74210) (cherry picked from commit ec68d46) (cherry picked from commit 09a1eff) (cherry picked from commit de2579d) (cherry picked from commit e8fed18) squash in be21620: STAR-431: Add more tests to make sure commands work without --no-file-io too (cherry picked from commit 033a492) (cherry picked from commit 72eedea) (cherry picked from commit cf7be8c) (cherry picked from commit 4f6d0be) (cherry picked from commit e483a80) (cherry picked from commit 261c1ee) (cherry picked from commit f479675) (cherry picked from commit f011e36)
* STAR-432: Add tests for consistency level options Co-authored-by: Robert Stupp snazy@snazy.de (cherry picked from commit 21c18c5) (cherry picked from commit e6ae1bf) (cherry picked from commit 05b7502) (cherry picked from commit b694f07) (cherry picked from commit 5a57ef8) (cherry picked from commit f0e5e55) (cherry picked from commit ff4f74c) (cherry picked from commit 8c9f07f) rebase notes: will be upstreamed via CASSANDRA-20626
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> (cherry picked from commit fd2b1c3) (cherry picked from commit 66e6b72) (cherry picked from commit 7060130) (cherry picked from commit ac2f0f6) (cherry picked from commit 5d2ce35) (cherry picked from commit e86263e) (cherry picked from commit 47c0399) squashes in 8ba19a18: CC5 fix support_guardrails() CC5 fix test_disk_usage_guardrail rebase notes: renamed dtest_setup.DTestSetup.supports__guardrails() to supports_cc4_guardrails() and extended the check against cc4
* STAR-765: Add tests for cloud connection. It is not possible without some infrastructre or tooling effort to trully test cloud connection. Instead added tests focus on proper cqlsh behavior when secure connect bundle is specified: - proper default consistency level - debug information - reading from cqlshrc and parameters - skipping host / port information Testing validation is based on error msgs and debug info. (cherry picked from commit 9f8cba3) (cherry picked from commit 50bf851) (cherry picked from commit e83d99a) (cherry picked from commit a7ef525) (cherry picked from commit 0dcfd76) (cherry picked from commit adbcf83) (cherry picked from commit a50effb) (cherry picked from commit 1120d65)
The goal of the test is to "exercise the retry and back-off policies". And test is trying to achieve it by: - using arbitrary low write timeout - and loading / exporting / importing / exporting the data - assuming that retries and back-off will handle it. Unfortunately it is very sensitive... Because we need to find a perfect balance for the timeout and req/s, so that: - timeouts are indeed hit - and default COPY util not abort after 90s without succ write - and default COPY will not abort after 12 unsuccessull backoff attempts This change disables this test because: - there is no logic in the test that would check if indeed retries and backoff are exercised, so - it is perfectly possible that when it passes it just passes without any value - there are special tests for MAXATTEMPTS and for backoff policy Final note: mechanism of retries and backoff policy in COPY command could be improved by providing some backpressure mechanism to slowdown writes rather than doing retry or backoff exponentital (with random!). But this would be a new feature and COPY util is not a place we would like to invest. (cherry picked from commit 897aab7) (cherry picked from commit 602cf53) (cherry picked from commit cb701f7) (cherry picked from commit c04b7de) (cherry picked from commit 3b51257) (cherry picked from commit 39fc3bd)
Improve reliability for slow/loaded test systems by using larger client timeout executing query. (cherry picked from commit 18d05f6) (cherry picked from commit 0bc8d67) (cherry picked from commit fbea8a1) (cherry picked from commit bdb7d26) (cherry picked from commit e5f5b9f) (cherry picked from commit dd195a1)
Cluster stop requests in cleanup_cluster are made with "gently=True" when Jacoco code coverage is enabled to allow the jacoco agent to record results; however, some tests leave nodes in a state where this type of shutdown does not succeed, resulting in the test being marked failed regardless of it's true completion status. This change will retry these stop requests with "gently=False" so that the test completion status will not be altered due to shutdown not completing. (cherry picked from commit f6fc3d3) (cherry picked from commit aff9d6e) (cherry picked from commit fe27230) (cherry picked from commit f931d43) (cherry picked from commit 88c022c) (cherry picked from commit 56b4680) rebase notes: will be upstreamed in CASSANDRA-20627
(cherry picked from commit 47b978d) (cherry picked from commit 4ecc81b) (cherry picked from commit a06131c) (cherry picked from commit 1064342) (cherry picked from commit ab2abb7) (cherry picked from commit aae8a6b) squashes in e74acd8: STAR-826 Add missing import (#40) (cherry picked from commit 7c8489f) (cherry picked from commit 9196eaa) (cherry picked from commit 28c71d1) (cherry picked from commit 2880475) (cherry picked from commit 2a984ff) (cherry picked from commit aad664b) squashes in 01b3ee5f: STAR-836 Fix TestCompaction_with_UnifiedCompactionStrategy.bloomfilter_size_test (#41) Co-authored-by: Branimir Lambov <branimir.lambov@datastax.com> (cherry picked from commit 7777fa9) (cherry picked from commit d06d4c6) (cherry picked from commit 12f5fff) (cherry picked from commit a29f899) (cherry picked from commit cfc58a3) (cherry picked from commit 2a2726a) rebase notes: will be upstreamed in CASSANDRA-20629
In DB-4215 compaction has been separated from repairs and that separation seems to be pulled from DSE along with UCS. Therefore, checking for the repair status depending on whether compaction was run or not is nor relevant any longer. This commit updates the test_consistent_repair to the version we have in apollo-dtest. (cherry picked from commit b454087) (cherry picked from commit 0465be4) (cherry picked from commit 3348bc7) (cherry picked from commit c71c480) (cherry picked from commit 3cc377c)
…ed schema handling (#54) (cherry picked from commit a6b3347) (cherry picked from commit 32e81d3) (cherry picked from commit c4475e0) (cherry picked from commit 90dd2d6) squashes in 4ec2fb0: STAR-899 Fix class name used from SchemaManager to Schema (#58) (cherry picked from commit a99fecd) (cherry picked from commit 79d684c) (cherry picked from commit c0e2363) (cherry picked from commit 61fb254)
* Use converged-cassandra branch of ccm * Make sure metadata is correctly cleaned (cherry picked from commit 0e4aaec) (cherry picked from commit de5b64b) (cherry picked from commit 2dd1103) squashes in 8f524eb: STAR-1589: Fix typos in bootstrap_test.py (#62) (cherry picked from commit 97fd564) (cherry picked from commit b97bc5d) (cherry picked from commit 662cd67) mck update from commit 1b91ca8 : CCM's converged-cassandra branch moving from riptano/ccm to datastax/cassandra-ccm ref: riptano/cndb#13241
Replace java_version with CURRENT_JAVA_VERSION in upgrade_through_versions_test.py Ignore JAVAxx_HOME in upgrade_manifest.jdk_compatible_steps Add additional debugging
…ewer pytest versions. Pin lowest expected pytest version in requirements.txt rebase notes: will be upstream in CASSANDRA-20633
The ticket also fixes STAR-1886. Backporting CASSANDRA-17190 required also CASSANDRA-17383. rebase notes: updated to use `node.is_converged_core()` ref: https://github.com/datastax/cassandra-ccm/blob/converged-cassandra/ccmlib/node.py#L500
squash in fe906e59: CC5 fix jmx_test.py::TestJMX::test_compactionstats
For now `indev_dse_*` paths are commented out as jenkins-stargazer can't access it. The `converged-cassandra/test` docker image does not have the github ssh key in it, despite the jenkins-pipeline-lib code and the credentials in the jenkins ds-cassandra-test-image-build job. This problem has been ticketed as HCD-149 When starting upgrade tests, adjust the jdk to an available jdk, if the current jdk is supported by the starting_version. Assume different cluster types will have different meta.family, and for binary downloads set the cluster class before any call to `repository.setup(..)`, and call now instead `cluster.load_from_repository(..)` which delegates to the correct subclass download method. rebase notes: parts of this will be replaced upstream by CASSANDRA-20693
Backports test and fixes done as part of CASSANDRA-16983 which have been backported to CC 4.0
…, CC4 and CC5 (#80) Fixes CNDB-13838: DTEST test failure: sstable_generation_loading_test.TestSSTableGenerationAndLoadingLegacyIndex.test_sstableloader_with_failing_2i This change introduces `DTestSetup::is_cc5()` and uses it to conditionally choose the appropriate assertion check in `test_sstableloader_with_failing_2i`.
…ifferent versions
…nge in keyspace name length in CC
DSE 6.9.12 release
There are now three profiles for guardrail defaults: none|dbaas|hcd Tests on transient replication need to set the jvm flag `-Dcassandra.testtag=enable_transient_replication` (otherwise CC fails to start as this is not a supported feature). Includes a fix for cql_tracing_test.py
(also drop 6.9's max_proto to v4, as v5 doesn't work in upgrades)
Part of the 6.9.15 release
Updates DSE 5.1, 6.8, and 6.9 versions to the latest releases done in January 2026 (5.1.49, 6.8.62, and 6.9.18).
Adds indev_cc4 and current_hcd_1 to indev_cc5 upgrade tests
…le INDEX_NOT_AVAILABLE in 5.0
…VERSION the cluster is viewed as being in upgrade state) and redacting of queries (#91)
Adds downgrade_through_versions_test.py with an appropriate DOWNGRADE_MANIFEST that specifies CC5 to CC4.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.