(cassandra-website) branch asf-staging updated (59ca12e3 -> 93cd6aa2)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-staging in repository https://gitbox.apache.org/repos/asf/cassandra-website.git discard 59ca12e3 generate docs for 87891e45 new 93cd6aa2 generate docs for 87891e45 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (59ca12e3) \ N -- N -- N refs/heads/asf-staging (93cd6aa2) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: site-ui/build/ui-bundle.zip | Bin 4883646 -> 4883646 bytes 1 file changed, 0 insertions(+), 0 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
(cassandra-website) branch asf-staging updated (4da931e2 -> 59ca12e3)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-staging in repository https://gitbox.apache.org/repos/asf/cassandra-website.git discard 4da931e2 generate docs for 87891e45 new 59ca12e3 generate docs for 87891e45 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (4da931e2) \ N -- N -- N refs/heads/asf-staging (59ca12e3) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../managing/tools/nodetool/bootstrap.html | 8 +-- .../managing/tools/nodetool/nodetool.html | 7 +- .../managing/tools/nodetool/repair_admin.html | 72 +-- .../managing/tools/nodetool/bootstrap.html | 7 +- .../5.1/cassandra/managing/tools/nodetool/cms.html | 70 ++ .../cassandra/managing/tools/nodetool/import.html | 6 +- .../managing/tools/nodetool/nodetool.html | 10 +-- .../managing/tools/nodetool/repair_admin.html | 79 +++-- .../managing/tools/nodetool/bootstrap.html | 8 +-- .../managing/tools/nodetool/nodetool.html | 7 +- .../managing/tools/nodetool/repair_admin.html | 72 +-- .../managing/tools/nodetool/bootstrap.html | 7 +- .../cassandra/managing/tools/nodetool/cms.html | 70 ++ .../cassandra/managing/tools/nodetool/import.html | 6 +- .../managing/tools/nodetool/nodetool.html | 10 +-- .../managing/tools/nodetool/repair_admin.html | 79 +++-- content/search-index.js| 2 +- site-ui/build/ui-bundle.zip| Bin 4883646 -> 4883646 bytes 18 files changed, 269 insertions(+), 251 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19748) [Analytics] Refactor Analytics to move standalone code into common module with minimal dependencies
[ https://issues.apache.org/jira/browse/CASSANDRA-19748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Berragan updated CASSANDRA-19748: --- Change Category: Code Clarity Complexity: Low Hanging Fruit Fix Version/s: NA Reviewers: Yuriy Semchyshyn Priority: Low (was: Normal) Status: Open (was: Triage Needed) > [Analytics] Refactor Analytics to move standalone code into common module > with minimal dependencies > --- > > Key: CASSANDRA-19748 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19748 > Project: Cassandra > Issue Type: Improvement > Components: Analytics Library >Reporter: James Berragan >Priority: Low > Fix For: NA > > > The Analytics codebase is heavily tied to Spark. In an effort to re-use code > across projects (like CDC) we should move standalone Pojos and util classes > into an cassandra-analytics-common module that exists standalone without > dependencies to Cassandra or Spark and with minimal standard dependencies > (Kryo, Guava, Jackson, Apache Commons Lang etc). -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[PR] Refactoring to introduce new cassandra-analytics-common module with m… [cassandra-analytics]
jberragan opened a new pull request, #62: URL: https://github.com/apache/cassandra-analytics/pull/62 …inimal dependencies. - Add new module cassandra-analytics-common with no dependencies on Spark or Cassandra and minimal standard dependencies (Guava, Jackson, Commons Lang Kryo etc) - Move standalone classes to cassandra-analytics-common module. Some additional refactoring and clean up: - Rename SSTableInputStream -> BufferingInputStream - Rename SSTableSource -> CassandraFileSource - Introduce CassandraFile interface to be the implementing class for SSTable and CommitLog. - Generalize IStats to work across different CassandraFile types - Rename methods in StreamScanner to make the API clearer. - Move ComplexTypeBuffer, ListBuffer, MapBuffer, SetBuffer, UdtBuffer to standalone classes - Delete unused classes RangeTombstone, ReplciaSet and CollectionElement. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Created] (CASSANDRA-19748) [Analytics] Refactor Analytics to move standalone code into common module with minimal dependencies
James Berragan created CASSANDRA-19748: -- Summary: [Analytics] Refactor Analytics to move standalone code into common module with minimal dependencies Key: CASSANDRA-19748 URL: https://issues.apache.org/jira/browse/CASSANDRA-19748 Project: Cassandra Issue Type: Improvement Components: Analytics Library Reporter: James Berragan The Analytics codebase is heavily tied to Spark. In an effort to re-use code across projects (like CDC) we should move standalone Pojos and util classes into an cassandra-analytics-common module that exists standalone without dependencies to Cassandra or Spark and with minimal standard dependencies (Kryo, Guava, Jackson, Apache Commons Lang etc). -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19747) Invalid schema.cql created by snapshot after dropping more than one field
[ https://issues.apache.org/jira/browse/CASSANDRA-19747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-19747: -- Status: Needs Committer (was: Patch Available) > Invalid schema.cql created by snapshot after dropping more than one field > - > > Key: CASSANDRA-19747 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19747 > Project: Cassandra > Issue Type: Bug > Components: Local/Snapshots >Reporter: Frank vissing >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x > > Time Spent: 20m > Remaining Estimate: 0h > > After dropping at least 2 fields the schema.cql produced by _nodetool > snapshot_ is invalid (it is missing a comma) > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID ...{code} > expected outcome > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text, > field3 text > ) WITH ID ...{code} > reproducing the isue is simple by running the following commands > {code:sh} > docker run -d --name cassandra cassandra:4.1.5 > echo "Wait for the container to start" > until docker exec -ti cassandra nodetool status | grep UN;do sleep > 1;done;sleep 10 > echo "Create keyspace and table for test" > docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH > replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE > TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 > text,field3 text);" > echo "Drop 2 fields" > docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, > field3);" > echo "Create snapshot and view schema.cql" > docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot > docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql > -exec cat {} + {code} > the full output of the sql generated by the reproduce is below > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 > AND additional_write_policy = '99p' > AND bloom_filter_fp_chance = 0.01 > AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} > AND cdc = false > AND comment = '' > AND compaction = {'class': > 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', > 'max_threshold': '32', 'min_threshold': '4'} > AND compression = {'chunk_length_in_kb': '16', 'class': > 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND memtable = 'default' > AND crc_check_chance = 1.0 > AND default_time_to_live = 0 > AND extensions = {} > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair = 'BLOCKING' > AND speculative_retry = '99p'; > ALTER TABLE test.testtable DROP field2 USING TIMESTAMP 171102807000; > ALTER TABLE test.testtable DROP field3 USING TIMESTAMP 171102807001; > {code} > Found this bug while trying to restore the schema from a backup created by > copying a snapshot from a running node. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19747) Invalid schema.cql created by snapshot after dropping more than one field
[ https://issues.apache.org/jira/browse/CASSANDRA-19747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862875#comment-17862875 ] Stefan Miklosovic commented on CASSANDRA-19747: --- [CASSANDRA-19747-4.0|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19747-4.0] {noformat} java11_pre-commit_tests ✓ j11_build1m 29s ✓ j11_cqlsh-dtests-py2-no-vnodes 5m 34s ✓ j11_cqlsh-dtests-py2-with-vnodes 5m 33s ✓ j11_cqlsh_dtests_py3 5m 24s ✓ j11_cqlsh_dtests_py311 5m 41s ✓ j11_cqlsh_dtests_py311_vnode 5m 35s ✓ j11_cqlsh_dtests_py385m 50s ✓ j11_cqlsh_dtests_py38_vnode 5m 50s ✓ j11_cqlsh_dtests_py3_vnode 5m 51s ✓ j11_cqlshlib_tests 7m 35s ✓ j11_dtests 33m 46s ✓ j11_dtests_vnode 35m 5s ✓ j11_jvm_dtests 9m 26s ✓ j11_unit_tests_repeat3m 15s ✕ j11_unit_tests8m 9s org.apache.cassandra.cql3.MemtableSizeTest testTruncationReleasesLogSpace {noformat} [java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4463/workflows/e22e6a6b-cb68-4995-bd0f-9239997f0931] > Invalid schema.cql created by snapshot after dropping more than one field > - > > Key: CASSANDRA-19747 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19747 > Project: Cassandra > Issue Type: Bug > Components: Local/Snapshots >Reporter: Frank vissing >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x > > Time Spent: 20m > Remaining Estimate: 0h > > After dropping at least 2 fields the schema.cql produced by _nodetool > snapshot_ is invalid (it is missing a comma) > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID ...{code} > expected outcome > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text, > field3 text > ) WITH ID ...{code} > reproducing the isue is simple by running the following commands > {code:sh} > docker run -d --name cassandra cassandra:4.1.5 > echo "Wait for the container to start" > until docker exec -ti cassandra nodetool status | grep UN;do sleep > 1;done;sleep 10 > echo "Create keyspace and table for test" > docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH > replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE > TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 > text,field3 text);" > echo "Drop 2 fields" > docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, > field3);" > echo "Create snapshot and view schema.cql" > docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot > docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql > -exec cat {} + {code} > the full output of the sql generated by the reproduce is below > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 > AND additional_write_policy = '99p' > AND bloom_filter_fp_chance = 0.01 > AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} > AND cdc = false > AND comment = '' > AND compaction = {'class': > 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', > 'max_threshold': '32', 'min_threshold': '4'} > AND compression = {'chunk_length_in_kb': '16', 'class': > 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND memtable = 'default' > AND crc_check_chance = 1.0 > AND default_time_to_live = 0 > AND extensions = {} > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair = 'BLOCKING' > AND speculative_retry = '99p'; > ALTER TABLE test.testtable DROP field2 USING TIMESTAMP 171102807000; > ALTER TABLE test.testtable DROP field3 USING TIMESTAMP 171102807001; > {code} > Found this bug while trying to restore the schema from a backup created by > copying a snapshot from a running node. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-u
[jira] [Comment Edited] (CASSANDRA-18831) Enable Cassandra to build and run under JDK21
[ https://issues.apache.org/jira/browse/CASSANDRA-18831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862873#comment-17862873 ] Josh McKenzie edited comment on CASSANDRA-18831 at 7/3/24 7:25 PM: --- Pushed another [commit|https://github.com/jmckenzie-dev/cassandra/commit/d6424ad6e01295f691ea5ebe31e1350ad89b9dda] that takes JDK21 support to passing unit and in-jvm dtests. The branch should be in a state where we can start doing prelim perf testing and fuzz testing against it. Specifying no UseCompressedOops to work around jamm having incorrect default if not specified for JDK21; annotated to change that in lockstep w/ZGC in the .options file. Plan to get python dtests into a good place and do some testing with genZGC; will update as more comes online. was (Author: jmckenzie): Pushed another commit that takes JDK21 support to passing unit and in-jvm dtests. The branch should be in a state where we can start doing prelim perf testing and fuzz testing against it. Specifying no UseCompressedOops to work around jamm having incorrect default if not specified for JDK21; annotated to change that in lockstep w/ZGC in the .options file. Plan to get python dtests into a good place and do some testing with genZGC; will update as more comes online. > Enable Cassandra to build and run under JDK21 > - > > Key: CASSANDRA-18831 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18831 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Achilles Benetopoulos >Assignee: Josh McKenzie >Priority: Normal > Fix For: 5.x > > Attachments: jdk21-patch > > > This patch builds on the work in CASSANDRA-16895 that added JDK17 to the list > of supported Java versions, and extends that work to enable building and > running Cassandra under JDK21. > The following commits comprise the changes included in the attached patch: > - > [https://github.com/apache/cassandra/commit/b15d4d6980e787ab5f3405ca8cb17a9c92a4aa47] > - > [https://github.com/apache/cassandra/commit/0c5df38dafe58bfec8924e81507bb604e1543897] > - > [https://github.com/apache/cassandra/commit/6506b7279d98eed4b2b65b71e0c6f41eb78c6913] > - > [https://github.com/apache/cassandra/commit/564cbd534c5a975cda0c629c14c68c8745b41451] -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18831) JDK21 support
[ https://issues.apache.org/jira/browse/CASSANDRA-18831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh McKenzie updated CASSANDRA-18831: -- Summary: JDK21 support (was: Enable Cassandra to build and run under JDK21) > JDK21 support > - > > Key: CASSANDRA-18831 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18831 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Achilles Benetopoulos >Assignee: Josh McKenzie >Priority: Normal > Fix For: 5.x > > Attachments: jdk21-patch > > > This patch builds on the work in CASSANDRA-16895 that added JDK17 to the list > of supported Java versions, and extends that work to enable building and > running Cassandra under JDK21. > The following commits comprise the changes included in the attached patch: > - > [https://github.com/apache/cassandra/commit/b15d4d6980e787ab5f3405ca8cb17a9c92a4aa47] > - > [https://github.com/apache/cassandra/commit/0c5df38dafe58bfec8924e81507bb604e1543897] > - > [https://github.com/apache/cassandra/commit/6506b7279d98eed4b2b65b71e0c6f41eb78c6913] > - > [https://github.com/apache/cassandra/commit/564cbd534c5a975cda0c629c14c68c8745b41451] -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18831) Enable Cassandra to build and run under JDK21
[ https://issues.apache.org/jira/browse/CASSANDRA-18831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862873#comment-17862873 ] Josh McKenzie commented on CASSANDRA-18831: --- Pushed another commit that takes JDK21 support to passing unit and in-jvm dtests. The branch should be in a state where we can start doing prelim perf testing and fuzz testing against it. Specifying no UseCompressedOops to work around jamm having incorrect default if not specified for JDK21; annotated to change that in lockstep w/ZGC in the .options file. Plan to get python dtests into a good place and do some testing with genZGC; will update as more comes online. > Enable Cassandra to build and run under JDK21 > - > > Key: CASSANDRA-18831 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18831 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Achilles Benetopoulos >Assignee: Josh McKenzie >Priority: Normal > Fix For: 5.x > > Attachments: jdk21-patch > > > This patch builds on the work in CASSANDRA-16895 that added JDK17 to the list > of supported Java versions, and extends that work to enable building and > running Cassandra under JDK21. > The following commits comprise the changes included in the attached patch: > - > [https://github.com/apache/cassandra/commit/b15d4d6980e787ab5f3405ca8cb17a9c92a4aa47] > - > [https://github.com/apache/cassandra/commit/0c5df38dafe58bfec8924e81507bb604e1543897] > - > [https://github.com/apache/cassandra/commit/6506b7279d98eed4b2b65b71e0c6f41eb78c6913] > - > [https://github.com/apache/cassandra/commit/564cbd534c5a975cda0c629c14c68c8745b41451] -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19665) Add download link for Java drivers from download page
[ https://issues.apache.org/jira/browse/CASSANDRA-19665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862871#comment-17862871 ] Brad Schoening commented on CASSANDRA-19665: [~mck] [~absurdfarce] I replaced my original branch with a new one, and the PR-277 has the same changes as 276. If you could just give that a thumbs up pls. > Add download link for Java drivers from download page > - > > Key: CASSANDRA-19665 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19665 > Project: Cassandra > Issue Type: Task > Components: Client/java-driver, Documentation/Website >Reporter: Bret McGuire >Assignee: Brad Schoening >Priority: Normal > Labels: pull-request-available > > Seems like we should have a link to download Java drivers from the [download > page|https://cassandra.apache.org/_/download.html] on the Website -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19747) Invalid schema.cql created by snapshot after dropping more than one field
[ https://issues.apache.org/jira/browse/CASSANDRA-19747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-19747: -- Fix Version/s: 4.0.x > Invalid schema.cql created by snapshot after dropping more than one field > - > > Key: CASSANDRA-19747 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19747 > Project: Cassandra > Issue Type: Bug > Components: Local/Snapshots >Reporter: Frank vissing >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x > > Time Spent: 20m > Remaining Estimate: 0h > > After dropping at least 2 fields the schema.cql produced by _nodetool > snapshot_ is invalid (it is missing a comma) > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID ...{code} > expected outcome > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text, > field3 text > ) WITH ID ...{code} > reproducing the isue is simple by running the following commands > {code:sh} > docker run -d --name cassandra cassandra:4.1.5 > echo "Wait for the container to start" > until docker exec -ti cassandra nodetool status | grep UN;do sleep > 1;done;sleep 10 > echo "Create keyspace and table for test" > docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH > replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE > TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 > text,field3 text);" > echo "Drop 2 fields" > docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, > field3);" > echo "Create snapshot and view schema.cql" > docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot > docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql > -exec cat {} + {code} > the full output of the sql generated by the reproduce is below > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 > AND additional_write_policy = '99p' > AND bloom_filter_fp_chance = 0.01 > AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} > AND cdc = false > AND comment = '' > AND compaction = {'class': > 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', > 'max_threshold': '32', 'min_threshold': '4'} > AND compression = {'chunk_length_in_kb': '16', 'class': > 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND memtable = 'default' > AND crc_check_chance = 1.0 > AND default_time_to_live = 0 > AND extensions = {} > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair = 'BLOCKING' > AND speculative_retry = '99p'; > ALTER TABLE test.testtable DROP field2 USING TIMESTAMP 171102807000; > ALTER TABLE test.testtable DROP field3 USING TIMESTAMP 171102807001; > {code} > Found this bug while trying to restore the schema from a backup created by > copying a snapshot from a running node. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19747) Invalid schema.cql created by snapshot after dropping more than one field
[ https://issues.apache.org/jira/browse/CASSANDRA-19747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862850#comment-17862850 ] Stefan Miklosovic commented on CASSANDRA-19747: --- [CASSANDRA-19747-5.0|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19747-5.0] {noformat} java17_pre-commit_tests ✓ j17_build3m 33s ✓ j17_cqlsh_dtests_py3116m 3s ✓ j17_cqlsh_dtests_py311_vnode 6m 14s ✓ j17_cqlsh_dtests_py38 6m 5s ✓ j17_cqlsh_dtests_py38_vnode 6m 14s ✓ j17_cqlshlib_cython_tests7m 16s ✓ j17_cqlshlib_tests 8m 41s ✓ j17_dtests 34m 11s ✓ j17_dtests_latest 33m 40s ✓ j17_dtests_vnode34m 25s ✓ j17_jvm_dtests 23m 54s ✓ j17_jvm_dtests_latest_vnode 15m 17s ✓ j17_unit_tests 15m 1s ✓ j17_unit_tests_repeat3m 12s ✓ j17_utests_latest 12m 55s ✓ j17_utests_latest_repeat 3m 6s ✓ j17_utests_oa_repeat 3m 49s ✕ j17_utests_oa 13m 47s org.apache.cassandra.net.ConnectionTest testTimeout {noformat} [java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4462/workflows/0ece8db5-d6c5-433d-9978-50a5bd05c0ab] > Invalid schema.cql created by snapshot after dropping more than one field > - > > Key: CASSANDRA-19747 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19747 > Project: Cassandra > Issue Type: Bug > Components: Local/Snapshots >Reporter: Frank vissing >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.1.x, 5.0.x, 5.x > > Time Spent: 20m > Remaining Estimate: 0h > > After dropping at least 2 fields the schema.cql produced by _nodetool > snapshot_ is invalid (it is missing a comma) > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID ...{code} > expected outcome > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text, > field3 text > ) WITH ID ...{code} > reproducing the isue is simple by running the following commands > {code:sh} > docker run -d --name cassandra cassandra:4.1.5 > echo "Wait for the container to start" > until docker exec -ti cassandra nodetool status | grep UN;do sleep > 1;done;sleep 10 > echo "Create keyspace and table for test" > docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH > replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE > TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 > text,field3 text);" > echo "Drop 2 fields" > docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, > field3);" > echo "Create snapshot and view schema.cql" > docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot > docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql > -exec cat {} + {code} > the full output of the sql generated by the reproduce is below > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 > AND additional_write_policy = '99p' > AND bloom_filter_fp_chance = 0.01 > AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} > AND cdc = false > AND comment = '' > AND compaction = {'class': > 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', > 'max_threshold': '32', 'min_threshold': '4'} > AND compression = {'chunk_length_in_kb': '16', 'class': > 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND memtable = 'default' > AND crc_check_chance = 1.0 > AND default_time_to_live = 0 > AND extensions = {} > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair = 'BLOCKING' > AND speculative_retry = '99p'; > ALTER TABLE test.testtable DROP field2 USING TIMESTAMP 171102807000; > ALTER TABLE test.testtable DROP field3 USING TIMESTAMP 171102807001; > {code} > Found this bug while trying to restore the schema from a backup created by > copying a snapshot from a running node. -- This message was sent by Atlassian Jira (
[jira] [Commented] (CASSANDRA-19708) Remove sid from bullseye docker images
[ https://issues.apache.org/jira/browse/CASSANDRA-19708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862819#comment-17862819 ] Brandon Williams commented on CASSANDRA-19708: -- +1 > Remove sid from bullseye docker images > -- > > Key: CASSANDRA-19708 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19708 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Michael Semb Wever >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x > > Attachments: CASSANDRA-19708_50_105_ci_summary.html, > CASSANDRA-19708_50_105_results_details.tar.xz > > > sid is flakey, often broken and takes days for correct packages to be > uploaded. > ref: > https://ci-cassandra.apache.org/job/Cassandra-4.1-artifacts/jdk=jdk_1.8_latest,label=cassandra/611/ > > sid is only used for jdk8 > looks like replacing it with temurin might be a safer/stable choice. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-19708) Remove sid from bullseye docker images
[ https://issues.apache.org/jira/browse/CASSANDRA-19708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855727#comment-17855727 ] Michael Semb Wever edited comment on CASSANDRA-19708 at 7/3/24 2:51 PM: in-tree patch. also contains debug (requested by [~edimitrova], and timeouts around script execution of the test splits (which has been witnessed to hang indefinitely). (it remains unclear if this is enough, whether timeout is also beneficial around the node call for when the node is unresponsive and the inner timeout wouldn't trigger. an outer timeout would need a much higher value, e.g. 1 day.) Patch: https://github.com/apache/cassandra/compare/trunk...thelastpickle:cassandra:mck/jenkinsfile-extra-debug/5.0 CI: [^CASSANDRA-19708_50_105_ci_summary.html] and [^CASSANDRA-19708_50_105_results_details.tar.xz] was (Author: michaelsembwever): in-tree patch. also contains debug (requested by [~edimitrova], and timeouts around script execution of the test splits (which has been witnessed to hang indefinitely). (it remains unclear if this is enough, whether timeout is also beneficial around the node call for when the node is unresponsive and the inner timeout wouldn't trigger. an outer timeout would need a much higher value, e.g. 1 day.) PR: https://github.com/apache/cassandra/compare/trunk...thelastpickle:cassandra:mck/jenkinsfile-extra-debug/5.0 CI: [^CASSANDRA-19708_50_105_ci_summary.html] and [^CASSANDRA-19708_50_105_results_details.tar.xz] > Remove sid from bullseye docker images > -- > > Key: CASSANDRA-19708 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19708 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Michael Semb Wever >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x > > Attachments: CASSANDRA-19708_50_105_ci_summary.html, > CASSANDRA-19708_50_105_results_details.tar.xz > > > sid is flakey, often broken and takes days for correct packages to be > uploaded. > ref: > https://ci-cassandra.apache.org/job/Cassandra-4.1-artifacts/jdk=jdk_1.8_latest,label=cassandra/611/ > > sid is only used for jdk8 > looks like replacing it with temurin might be a safer/stable choice. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
(cassandra) 01/01: Merge branch 'cassandra-5.0' into trunk
This is an automated email from the ASF dual-hosted git repository. mck pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git commit e7cf38b5de6f804ce121e7a676576135db0c4bb1 Merge: d1dd9cb4af e801d13d50 Author: Mick Semb Wever AuthorDate: Wed Jul 3 15:07:17 2024 +0200 Merge branch 'cassandra-5.0' into trunk * cassandra-5.0: Prepare debian changelog for 5.0-rc1 - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
(cassandra) branch trunk updated (d1dd9cb4af -> e7cf38b5de)
This is an automated email from the ASF dual-hosted git repository. mck pushed a change to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git from d1dd9cb4af Merge branch 'cassandra-5.0' into trunk new e801d13d50 Prepare debian changelog for 5.0-rc1 new e7cf38b5de Merge branch 'cassandra-5.0' into trunk The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
(cassandra) branch cassandra-5.0 updated: Prepare debian changelog for 5.0-rc1
This is an automated email from the ASF dual-hosted git repository. mck pushed a commit to branch cassandra-5.0 in repository https://gitbox.apache.org/repos/asf/cassandra.git The following commit(s) were added to refs/heads/cassandra-5.0 by this push: new e801d13d50 Prepare debian changelog for 5.0-rc1 e801d13d50 is described below commit e801d13d504cc96918b9ffd514f12f898df256cf Author: Mick Semb Wever AuthorDate: Tue Jul 2 12:54:06 2024 +0200 Prepare debian changelog for 5.0-rc1 original: https://github.com/apache/cassandra/commit/01eea8a0d74deaede236edb25335fa470502106e --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index f95efc6b4f..0efef36984 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,7 @@ cassandra (5.0~rc1) unstable; urgency=medium * New release - -- Mick Semb Wever Fri, 21 Jun 2024 16:10:00 +0200 + -- Mick Semb Wever Tue, 02 Jul 2024 12:53:45 +0200 cassandra (5.0~beta1) unstable; urgency=medium - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19747) Invalid schema.cql created by snapshot after dropping more than one field
[ https://issues.apache.org/jira/browse/CASSANDRA-19747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-19747: -- Test and Documentation Plan: CI Status: Patch Available (was: In Progress) This should do it for trunk. Let's see what Circle thinks. (1) https://github.com/apache/cassandra/pull/3401 > Invalid schema.cql created by snapshot after dropping more than one field > - > > Key: CASSANDRA-19747 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19747 > Project: Cassandra > Issue Type: Bug > Components: Local/Snapshots >Reporter: Frank vissing >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.1.x, 5.0.x, 5.x > > Time Spent: 10m > Remaining Estimate: 0h > > After dropping at least 2 fields the schema.cql produced by _nodetool > snapshot_ is invalid (it is missing a comma) > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID ...{code} > expected outcome > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text, > field3 text > ) WITH ID ...{code} > reproducing the isue is simple by running the following commands > {code:sh} > docker run -d --name cassandra cassandra:4.1.5 > echo "Wait for the container to start" > until docker exec -ti cassandra nodetool status | grep UN;do sleep > 1;done;sleep 10 > echo "Create keyspace and table for test" > docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH > replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE > TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 > text,field3 text);" > echo "Drop 2 fields" > docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, > field3);" > echo "Create snapshot and view schema.cql" > docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot > docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql > -exec cat {} + {code} > the full output of the sql generated by the reproduce is below > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 > AND additional_write_policy = '99p' > AND bloom_filter_fp_chance = 0.01 > AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} > AND cdc = false > AND comment = '' > AND compaction = {'class': > 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', > 'max_threshold': '32', 'min_threshold': '4'} > AND compression = {'chunk_length_in_kb': '16', 'class': > 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND memtable = 'default' > AND crc_check_chance = 1.0 > AND default_time_to_live = 0 > AND extensions = {} > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair = 'BLOCKING' > AND speculative_retry = '99p'; > ALTER TABLE test.testtable DROP field2 USING TIMESTAMP 171102807000; > ALTER TABLE test.testtable DROP field3 USING TIMESTAMP 171102807001; > {code} > Found this bug while trying to restore the schema from a backup created by > copying a snapshot from a running node. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19665) Add download link for Java drivers from download page
[ https://issues.apache.org/jira/browse/CASSANDRA-19665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-19665: --- Reviewers: Michael Semb Wever Status: Review In Progress (was: Patch Available) +1 (one small optionally comment/question about the maven repo url we want to use) > Add download link for Java drivers from download page > - > > Key: CASSANDRA-19665 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19665 > Project: Cassandra > Issue Type: Task > Components: Client/java-driver, Documentation/Website >Reporter: Bret McGuire >Assignee: Brad Schoening >Priority: Normal > Labels: pull-request-available > > Seems like we should have a link to download Java drivers from the [download > page|https://cassandra.apache.org/_/download.html] on the Website -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Assigned] (CASSANDRA-19747) Invalid schema.cql created by snapshot after dropping more than one field
[ https://issues.apache.org/jira/browse/CASSANDRA-19747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic reassigned CASSANDRA-19747: - Assignee: Stefan Miklosovic > Invalid schema.cql created by snapshot after dropping more than one field > - > > Key: CASSANDRA-19747 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19747 > Project: Cassandra > Issue Type: Bug > Components: Local/Snapshots >Reporter: Frank vissing >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 4.1.x, 5.0.x, 5.x > > > After dropping at least 2 fields the schema.cql produced by _nodetool > snapshot_ is invalid (it is missing a comma) > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID ...{code} > expected outcome > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text, > field3 text > ) WITH ID ...{code} > reproducing the isue is simple by running the following commands > {code:sh} > docker run -d --name cassandra cassandra:4.1.5 > echo "Wait for the container to start" > until docker exec -ti cassandra nodetool status | grep UN;do sleep > 1;done;sleep 10 > echo "Create keyspace and table for test" > docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH > replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE > TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 > text,field3 text);" > echo "Drop 2 fields" > docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, > field3);" > echo "Create snapshot and view schema.cql" > docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot > docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql > -exec cat {} + {code} > the full output of the sql generated by the reproduce is below > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 > AND additional_write_policy = '99p' > AND bloom_filter_fp_chance = 0.01 > AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} > AND cdc = false > AND comment = '' > AND compaction = {'class': > 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', > 'max_threshold': '32', 'min_threshold': '4'} > AND compression = {'chunk_length_in_kb': '16', 'class': > 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND memtable = 'default' > AND crc_check_chance = 1.0 > AND default_time_to_live = 0 > AND extensions = {} > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair = 'BLOCKING' > AND speculative_retry = '99p'; > ALTER TABLE test.testtable DROP field2 USING TIMESTAMP 171102807000; > ALTER TABLE test.testtable DROP field3 USING TIMESTAMP 171102807001; > {code} > Found this bug while trying to restore the schema from a backup created by > copying a snapshot from a running node. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19739) Move bcprov-jdk18on-1.76.jar to build deps
[ https://issues.apache.org/jira/browse/CASSANDRA-19739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-19739: --- Component/s: Dependencies (was: Build) > Move bcprov-jdk18on-1.76.jar to build deps > -- > > Key: CASSANDRA-19739 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19739 > Project: Cassandra > Issue Type: Task > Components: Dependencies >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 5.0-beta2, 5.0, 5.1 > > Time Spent: 20m > Remaining Estimate: 0h > > This came up after I bumped dependency-check version to 10.0.0 as suggested > in CASSANDRA-19738. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19739) Move bcprov-jdk18on-1.76.jar to build deps
[ https://issues.apache.org/jira/browse/CASSANDRA-19739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-19739: --- Fix Version/s: 5.0 > Move bcprov-jdk18on-1.76.jar to build deps > -- > > Key: CASSANDRA-19739 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19739 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 5.0-beta2, 5.0, 5.1 > > Time Spent: 20m > Remaining Estimate: 0h > > This came up after I bumped dependency-check version to 10.0.0 as suggested > in CASSANDRA-19738. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19739) Move bcprov-jdk18on-1.76.jar to build deps
[ https://issues.apache.org/jira/browse/CASSANDRA-19739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Semb Wever updated CASSANDRA-19739: --- Fix Version/s: 5.1 (was: 5.1-alpha1) > Move bcprov-jdk18on-1.76.jar to build deps > -- > > Key: CASSANDRA-19739 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19739 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 5.0-beta2, 5.1 > > Time Spent: 20m > Remaining Estimate: 0h > > This came up after I bumped dependency-check version to 10.0.0 as suggested > in CASSANDRA-19738. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19747) Invalid schema.cql created by snapshot after dropping more than one field
[ https://issues.apache.org/jira/browse/CASSANDRA-19747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-19747: - Bug Category: Parent values: Correctness(12982)Level 1 values: Recoverable Corruption / Loss(12986) Complexity: Normal Component/s: Local/Snapshots Discovered By: User Report Fix Version/s: 4.1.x 5.0.x 5.x Severity: Normal Status: Open (was: Triage Needed) > Invalid schema.cql created by snapshot after dropping more than one field > - > > Key: CASSANDRA-19747 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19747 > Project: Cassandra > Issue Type: Bug > Components: Local/Snapshots >Reporter: Frank vissing >Priority: Normal > Fix For: 4.1.x, 5.0.x, 5.x > > > After dropping at least 2 fields the schema.cql produced by _nodetool > snapshot_ is invalid (it is missing a comma) > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID ...{code} > expected outcome > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text, > field3 text > ) WITH ID ...{code} > reproducing the isue is simple by running the following commands > {code:sh} > docker run -d --name cassandra cassandra:4.1.5 > echo "Wait for the container to start" > until docker exec -ti cassandra nodetool status | grep UN;do sleep > 1;done;sleep 10 > echo "Create keyspace and table for test" > docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH > replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE > TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 > text,field3 text);" > echo "Drop 2 fields" > docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, > field3);" > echo "Create snapshot and view schema.cql" > docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot > docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql > -exec cat {} + {code} > the full output of the sql generated by the reproduce is below > {code:sql} > CREATE TABLE IF NOT EXISTS test.testtable ( > field1 text PRIMARY KEY, > field2 text > field3 text > ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 > AND additional_write_policy = '99p' > AND bloom_filter_fp_chance = 0.01 > AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} > AND cdc = false > AND comment = '' > AND compaction = {'class': > 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', > 'max_threshold': '32', 'min_threshold': '4'} > AND compression = {'chunk_length_in_kb': '16', 'class': > 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND memtable = 'default' > AND crc_check_chance = 1.0 > AND default_time_to_live = 0 > AND extensions = {} > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair = 'BLOCKING' > AND speculative_retry = '99p'; > ALTER TABLE test.testtable DROP field2 USING TIMESTAMP 171102807000; > ALTER TABLE test.testtable DROP field3 USING TIMESTAMP 171102807001; > {code} > Found this bug while trying to restore the schema from a backup created by > copying a snapshot from a running node. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19747) Invalid schema.cql created by snapshot after dropping more than one field
[ https://issues.apache.org/jira/browse/CASSANDRA-19747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frank vissing updated CASSANDRA-19747: -- Description: After dropping at least 2 fields the schema.cql produced by _nodetool snapshot_ is invalid (it is missing a comma) {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text field3 text ) WITH ID ...{code} expected outcome {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text, field3 text ) WITH ID ...{code} reproducing the isue is simple by running the following commands {code:sh} docker run -d --name cassandra cassandra:4.1.5 echo "Wait for the container to start" until docker exec -ti cassandra nodetool status | grep UN;do sleep 1;done;sleep 10 echo "Create keyspace and table for test" docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 text,field3 text);" echo "Drop 2 fields" docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, field3);" echo "Create snapshot and view schema.cql" docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql -exec cat {} + {code} the full output of the sql generated by the reproduce is below {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text field3 text ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 AND additional_write_policy = '99p' AND bloom_filter_fp_chance = 0.01 AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} AND cdc = false AND comment = '' AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'} AND compression = {'chunk_length_in_kb': '16', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'} AND memtable = 'default' AND crc_check_chance = 1.0 AND default_time_to_live = 0 AND extensions = {} AND gc_grace_seconds = 864000 AND max_index_interval = 2048 AND memtable_flush_period_in_ms = 0 AND min_index_interval = 128 AND read_repair = 'BLOCKING' AND speculative_retry = '99p'; ALTER TABLE test.testtable DROP field2 USING TIMESTAMP 171102807000; ALTER TABLE test.testtable DROP field3 USING TIMESTAMP 171102807001; {code} Found this bug while trying to restore the schema from a backup created by copying a snapshot from a running node. was: After dropping at least 2 fields the schema.cql produced by _nodetool snapshot_ is invalid (it is missing a comma) {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text field3 text ) WITH ID ...{code} expected outcome {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text, field3 text ) WITH ID ...{code} reproducing the isue is simple by running the following commands {code:sh} docker run -d --name cassandra cassandra:4.1.5 echo "Wait for the container to start" until docker exec -ti cassandra nodetool status | grep UN;do sleep 1;done;sleep 10 echo "Create keyspace and table for test" docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 text,field3 text);" echo "Drop 2 fields" docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, field3);" echo "Create snapshot and view schema.cql" docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql -exec cat {} + {code} the full output of the sql generated by the reproduce is below {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text field3 text ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 AND additional_write_policy = '99p' AND bloom_filter_fp_chance = 0.01 AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} AND cdc = false AND comment = '' AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'} AND compression = {'chunk_length_in_kb': '16', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'} AND memtable = 'default' AND crc_check_chance = 1.0 AND default_time_to_live = 0 AND extensions = {} AND gc_grace_seconds = 864000 AND max_index_interval = 2048 AND memtable_flush_period_in_ms = 0 AND min_index_interval = 128 AND read_repair = 'BLOCKING'
[jira] [Commented] (CASSANDRA-13890) Expose current compaction throughput
[ https://issues.apache.org/jira/browse/CASSANDRA-13890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862711#comment-17862711 ] Jon Haddad commented on CASSANDRA-13890: LGTM +1. Please fix the new line on line 61 in the imports in src/java/org/apache/cassandra/db/compaction/CompactionManager.java on commit. > Expose current compaction throughput > > > Key: CASSANDRA-13890 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13890 > Project: Cassandra > Issue Type: Improvement > Components: Legacy/Tools >Reporter: Jon Haddad >Assignee: Ling Mao >Priority: Low > Labels: lhf > Fix For: 5.x > > Time Spent: 1h 10m > Remaining Estimate: 0h > > Getting and setting the current compaction throughput limit is supported, but > there's no means of knowing if the setting is actually making a difference. > Let's expose the current throughput being utilized by Cassandra that's in the > {{compactionRateLimiter}} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19747) Invalid schema.cql created by snapshot after dropping more than one field
[ https://issues.apache.org/jira/browse/CASSANDRA-19747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frank vissing updated CASSANDRA-19747: -- Description: After dropping at least 2 fields the schema.cql produced by _nodetool snapshot_ is invalid (it is missing a comma) {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text field3 text ) WITH ID ...{code} expected outcome {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text, field3 text ) WITH ID ...{code} reproducing the isue is simple by running the following commands {code:sh} docker run -d --name cassandra cassandra:4.1.5 echo "Wait for the container to start" until docker exec -ti cassandra nodetool status | grep UN;do sleep 1;done;sleep 10 echo "Create keyspace and table for test" docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 text,field3 text);" echo "Drop 2 fields" docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, field3);" echo "Create snapshot and view schema.cql" docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql -exec cat {} + {code} the full output of the sql generated by the reproduce is below {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text field3 text ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 AND additional_write_policy = '99p' AND bloom_filter_fp_chance = 0.01 AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} AND cdc = false AND comment = '' AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'} AND compression = {'chunk_length_in_kb': '16', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'} AND memtable = 'default' AND crc_check_chance = 1.0 AND default_time_to_live = 0 AND extensions = {} AND gc_grace_seconds = 864000 AND max_index_interval = 2048 AND memtable_flush_period_in_ms = 0 AND min_index_interval = 128 AND read_repair = 'BLOCKING' AND speculative_retry = '99p'; {code} Found this bug while trying to restore the schema from a backup created by copying a snapshot from a running node. was: After dropping at least 2 fields the schema.cql produced by _nodetool snapshot_ is invalid (it is missing a comma) {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text field3 text ) WITH ID ...{code} expected outcome {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text, field3 text ) WITH ID ...{code} reproducing the isue is simple by running the following commands {code:sh} docker run -d --name cassandra cassandra:4.1.5 echo Wait for the container to start until docker exec -ti cassandra nodetool status | grep UN;do sleep 1;done;sleep 10 echo create keyspace and table for test docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 text,field3 text);" echo Drop 2 fields docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, field3);" echo create snapshot and view schema.cql docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql -exec cat {} + {code} the full output of the sql generated by the reproduce is below {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text field3 text ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 AND additional_write_policy = '99p' AND bloom_filter_fp_chance = 0.01 AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} AND cdc = false AND comment = '' AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'} AND compression = {'chunk_length_in_kb': '16', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'} AND memtable = 'default' AND crc_check_chance = 1.0 AND default_time_to_live = 0 AND extensions = {} AND gc_grace_seconds = 864000 AND max_index_interval = 2048 AND memtable_flush_period_in_ms = 0 AND min_index_interval = 128 AND read_repair = 'BLOCKING' AND speculative_retry = '99p'; {code} Found this bug while trying to restore the schema from a backup created by copying a snapshot from a running nod
[jira] [Created] (CASSANDRA-19747) Invalid schema.cql created by snapshot after dropping more than one field
Frank vissing created CASSANDRA-19747: - Summary: Invalid schema.cql created by snapshot after dropping more than one field Key: CASSANDRA-19747 URL: https://issues.apache.org/jira/browse/CASSANDRA-19747 Project: Cassandra Issue Type: Bug Reporter: Frank vissing After dropping at least 2 fields the schema.cql produced by _nodetool snapshot_ is invalid (it is missing a comma) {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text field3 text ) WITH ID ...{code} expected outcome {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text, field3 text ) WITH ID ...{code} reproducing the isue is simple by running the following commands {code:sh} docker run -d --name cassandra cassandra:4.1.5 echo Wait for the container to start until docker exec -ti cassandra nodetool status | grep UN;do sleep 1;done;sleep 10 echo create keyspace and table for test docker exec -ti cassandra cqlsh -e "CREATE KEYSPACE IF NOT EXISTS test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}; CREATE TABLE IF NOT EXISTS test.testtable (field1 text PRIMARY KEY,field2 text,field3 text);" echo Drop 2 fields docker exec -ti cassandra cqlsh -e "ALTER TABLE test.testtable DROP (field2, field3);" echo create snapshot and view schema.cql docker exec -ti cassandra /opt/cassandra/bin/nodetool snapshot -t my_snapshot docker exec -ti cassandra find /var/lib/cassandra/data -name schema.cql -exec cat {} + {code} the full output of the sql generated by the reproduce is below {code:sql} CREATE TABLE IF NOT EXISTS test.testtable ( field1 text PRIMARY KEY, field2 text field3 text ) WITH ID = 0e9aa540-391f-11ef-945e-0be1221ff441 AND additional_write_policy = '99p' AND bloom_filter_fp_chance = 0.01 AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} AND cdc = false AND comment = '' AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'} AND compression = {'chunk_length_in_kb': '16', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'} AND memtable = 'default' AND crc_check_chance = 1.0 AND default_time_to_live = 0 AND extensions = {} AND gc_grace_seconds = 864000 AND max_index_interval = 2048 AND memtable_flush_period_in_ms = 0 AND min_index_interval = 128 AND read_repair = 'BLOCKING' AND speculative_retry = '99p'; {code} Found this bug while trying to restore the schema from a backup created by copying a snapshot from a running node. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19130) Implement transactional table truncation
[ https://issues.apache.org/jira/browse/CASSANDRA-19130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862692#comment-17862692 ] Stefan Miklosovic commented on CASSANDRA-19130: --- I feel like I would be able to move this forward if I knew how to act in a mixed cluster (some nodes on TCM, some not). [~aratnofsky]'s suggestion to treat truncation as it is now until all nodes are on TCM makes sense to me. We would check the topology before deciding what to do. Does that make sense to people? cc [~samt] > Implement transactional table truncation > > > Key: CASSANDRA-19130 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19130 > Project: Cassandra > Issue Type: New Feature > Components: Consistency/Coordination >Reporter: Marcus Eriksson >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 5.x > > Time Spent: 10m > Remaining Estimate: 0h > > TRUNCATE table should leverage cluster metadata to ensure consistent > truncation timestamps across all replicas. The current implementation depends > on all nodes being available, but this could be reimplemented as a > {{Transformation}}. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19739) Move bcprov-jdk18on-1.76.jar to build deps
[ https://issues.apache.org/jira/browse/CASSANDRA-19739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-19739: -- Status: Ready to Commit (was: Review In Progress) > Move bcprov-jdk18on-1.76.jar to build deps > -- > > Key: CASSANDRA-19739 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19739 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 5.0-beta2, 5.x > > Time Spent: 20m > Remaining Estimate: 0h > > This came up after I bumped dependency-check version to 10.0.0 as suggested > in CASSANDRA-19738. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19739) Move bcprov-jdk18on-1.76.jar to build deps
[ https://issues.apache.org/jira/browse/CASSANDRA-19739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-19739: -- Reviewers: Brandon Williams Status: Review In Progress (was: Needs Committer) > Move bcprov-jdk18on-1.76.jar to build deps > -- > > Key: CASSANDRA-19739 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19739 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 5.0-beta2, 5.x > > Time Spent: 20m > Remaining Estimate: 0h > > This came up after I bumped dependency-check version to 10.0.0 as suggested > in CASSANDRA-19738. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19739) Move bcprov-jdk18on-1.76.jar to build deps
[ https://issues.apache.org/jira/browse/CASSANDRA-19739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Miklosovic updated CASSANDRA-19739: -- Fix Version/s: 5.1-alpha1 (was: 5.x) Source Control Link: https://github.com/apache/cassandra/commit/a9d6900d445ee44470f80d45c647fd015dba57ba Resolution: Fixed Status: Resolved (was: Ready to Commit) > Move bcprov-jdk18on-1.76.jar to build deps > -- > > Key: CASSANDRA-19739 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19739 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Stefan Miklosovic >Assignee: Stefan Miklosovic >Priority: Normal > Fix For: 5.0-beta2, 5.1-alpha1 > > Time Spent: 20m > Remaining Estimate: 0h > > This came up after I bumped dependency-check version to 10.0.0 as suggested > in CASSANDRA-19738. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
(cassandra) branch cassandra-5.0 updated (1bec8b99ca -> a9d6900d44)
This is an automated email from the ASF dual-hosted git repository. smiklosovic pushed a change to branch cassandra-5.0 in repository https://gitbox.apache.org/repos/asf/cassandra.git from 1bec8b99ca Merge branch 'cassandra-4.1' into cassandra-5.0 add a9d6900d44 Move bcpkix-jdk18on to build dependencies, update to 1.78 and explicitly enumerate transitive dependencies No new revisions were added by this update. Summary of changes: .build/cassandra-build-deps-template.xml | 12 .build/cassandra-deps-template.xml | 4 .build/parent-pom-template.xml | 15 ++- CHANGES.txt | 1 + 4 files changed, 27 insertions(+), 5 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
(cassandra) branch trunk updated (b25995fc44 -> d1dd9cb4af)
This is an automated email from the ASF dual-hosted git repository. smiklosovic pushed a change to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git from b25995fc44 Merge branch 'cassandra-5.0' into trunk add a9d6900d44 Move bcpkix-jdk18on to build dependencies, update to 1.78 and explicitly enumerate transitive dependencies new d1dd9cb4af Merge branch 'cassandra-5.0' into trunk The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .build/cassandra-build-deps-template.xml | 12 .build/cassandra-deps-template.xml | 4 .build/parent-pom-template.xml | 15 ++- CHANGES.txt | 1 + 4 files changed, 27 insertions(+), 5 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
(cassandra) 01/01: Merge branch 'cassandra-5.0' into trunk
This is an automated email from the ASF dual-hosted git repository. smiklosovic pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git commit d1dd9cb4afa785b1466f610686d0840020ec666c Merge: b25995fc44 a9d6900d44 Author: Stefan Miklosovic AuthorDate: Wed Jul 3 09:26:12 2024 +0200 Merge branch 'cassandra-5.0' into trunk .build/cassandra-build-deps-template.xml | 12 .build/cassandra-deps-template.xml | 4 .build/parent-pom-template.xml | 15 ++- CHANGES.txt | 1 + 4 files changed, 27 insertions(+), 5 deletions(-) diff --cc CHANGES.txt index fd8561af1a,77689676b0..0011fbd995 --- a/CHANGES.txt +++ b/CHANGES.txt @@@ -1,55 -1,5 +1,56 @@@ -5.0-rc1 +5.1 + * Reconfigure CMS after replacement, bootstrap and move operations (CASSANDRA-19705) + * Support querying LocalStrategy tables with any partitioner (CASSANDRA-19692) + * Relax slow_query_log_timeout for MultiNodeSAITest (CASSANDRA-19693) + * Audit Log entries are missing identity for mTLS connections (CASSANDRA-19669) + * Add support for the BETWEEN operator in WHERE clauses (CASSANDRA-19604) + * Replace Stream iteration with for-loop for SimpleRestriction::bindAndGetClusteringElements (CASSANDRA-19679) + * Consolidate logging on trace level (CASSANDRA-19632) + * Expand DDL statements on coordinator before submission to the CMS (CASSANDRA-19592) + * Fix number of arguments of String.format() in various classes (CASSANDRA-19645) + * Remove unused fields from config (CASSANDRA-19599) + * Refactor Relation and Restriction hierarchies (CASSANDRA-19341) + * Raise priority of TCM internode messages during critical operations (CASSANDRA-19517) + * Add nodetool command to unregister LEFT nodes (CASSANDRA-19581) + * Add cluster metadata id to gossip syn messages (CASSANDRA-19613) + * Reduce heap usage occupied by the metrics (CASSANDRA-19567) + * Improve handling of transient replicas during range movements (CASSANDRA-19344) + * Enable debounced internode log requests to be cancelled at shutdown (CASSANDRA-19514) + * Correctly set last modified epoch when combining multistep operations into a single step (CASSANDRA-19538) + * Add new TriggersPolicy configuration to allow operators to disable triggers (CASSANDRA-19532) + * Use Transformation.Kind.id in local and distributed log tables (CASSANDRA-19516) + * Remove period field from ClusterMetadata and metadata log tables (CASSANDRA-19482) + * Enrich system_views.pending_hints vtable with hints sizes (CASSANDRA-19486) + * Expose all dropwizard metrics in virtual tables (CASSANDRA-14572) + * Ensured that PropertyFileSnitchTest do not overwrite cassandra-toploogy.properties (CASSANDRA-19502) + * Add option for MutualTlsAuthenticator to restrict the certificate validity period (CASSANDRA-18951) + * Fix StorageService::constructRangeToEndpointMap for non-distributed keyspaces (CASSANDRA-19255) + * Group nodetool cms commands into single command group (CASSANDRA-19393) + * Register the measurements of the bootstrap process as Dropwizard metrics (CASSANDRA-19447) + * Add LIST SUPERUSERS CQL statement (CASSANDRA-19417) + * Modernize CQLSH datetime conversions (CASSANDRA-18879) + * Harry model and in-JVM tests for partition-restricted 2i queries (CASSANDRA-18275) + * Refactor cqlshmain global constants (CASSANDRA-19201) + * Remove native_transport_port_ssl (CASSANDRA-19397) + * Make nodetool reconfigurecms sync by default and add --cancel to be able to cancel ongoing reconfigurations (CASSANDRA-19216) + * Expose auth mode in system_views.clients, nodetool clientstats, metrics (CASSANDRA-19366) + * Remove sealed_periods and last_sealed_period tables (CASSANDRA-19189) + * Improve setup and initialisation of LocalLog/LogSpec (CASSANDRA-19271) + * Refactor structure of caching metrics and expose auth cache metrics via JMX (CASSANDRA-17062) + * Allow CQL client certificate authentication to work without sending an AUTHENTICATE request (CASSANDRA-18857) + * Extend nodetool tpstats and system_views.thread_pools with detailed pool parameters (CASSANDRA-19289) + * Remove dependency on Sigar in favor of OSHI (CASSANDRA-16565) + * Simplify the bind marker and Term logic (CASSANDRA-18813) + * Limit cassandra startup to supported JDKs, allow higher JDKs by setting CASSANDRA_JDK_UNSUPPORTED (CASSANDRA-18688) + * Standardize nodetool tablestats formatting of data units (CASSANDRA-19104) + * Make nodetool tablestats use number of significant digits for time and average values consistently (CASSANDRA-19015) + * Upgrade jackson to 2.15.3 and snakeyaml to 2.1 (CASSANDRA-18875) + * Transactional Cluster Metadata [CEP-21] (CASSANDRA-18330) + * Add ELAPSED command to cqlsh (CASSANDRA-18861) + * Add the ability to disable bulk loading of SSTables (CASSANDRA-18781) + * Clean up obsolete functions and simplify cql_version handling in cqlsh (CASSANDRA-187
[jira] [Updated] (CASSANDRA-19733) Add feature to filter streaming source when bootstrapping
[ https://issues.apache.org/jira/browse/CASSANDRA-19733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuki Morishita updated CASSANDRA-19733: --- Test and Documentation Plan: Unit test attched Status: Patch Available (was: Open) > Add feature to filter streaming source when bootstrapping > - > > Key: CASSANDRA-19733 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19733 > Project: Cassandra > Issue Type: Improvement > Components: Cluster/Membership >Reporter: Yuki Morishita >Assignee: Yuki Morishita >Priority: Normal > Fix For: 3.11.x, 4.0.x, 4.1.x, 5.0.x, 5.x > > Time Spent: 50m > Remaining Estimate: 0h > > h2. Proposed improvement > Right now, the stream sources for the bootstrap are chosen from the closest > nodes of the bootstrapping node. > Add the following system properties so that when bootstrap happens, the node > can choose where to stream data from. > * {{cassandra.bootstrap.include_dcs}} > * {{cassandra.bootstrap.exclude_dcs}} > * {{cassandra.bootstrap.include_sources}} > {{cassandra.bootstrap.include_dcs and }}{{cassandra.bootstrap.exclude_dcs can > take args like "dc1,dc2" to specify DCs or "dc1:rack1,dc1:rack2,..." to > specify DC/Racks.}} > {{cassandra.bootstrap.include_sources is used to specify ip address/port of > the specific nodes to stream from.}} > h2. Motivation > Currently, when the node failure happens in the middle of the major cluster > upgrade, general advice given to the user is to complete the upgrade of the > cluster until all nodes are in the same version, and replace/remove the > failed node. This is because the streaming breaks when there is unsupported > SSTable version streamed from newer to the older. > This approach can create availability issue when two nodes (the failed node > from different rack and the node currently stopped for the upgrade) are down. > With this improvement, the user can replace the failed node using, for > example, specific rack in the same DC or another DC, to eliminate the > availability issue described above. > h2. Note > The user also needs to set "-Dcassandra.skip_schema_check=true" when > replacing the node during the major upgrade to complete the replacement. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-19733) Add feature to filter streaming source when bootstrapping
[ https://issues.apache.org/jira/browse/CASSANDRA-19733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuki Morishita updated CASSANDRA-19733: --- Change Category: Operability Complexity: Normal Status: Open (was: Triage Needed) > Add feature to filter streaming source when bootstrapping > - > > Key: CASSANDRA-19733 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19733 > Project: Cassandra > Issue Type: Improvement > Components: Cluster/Membership >Reporter: Yuki Morishita >Assignee: Yuki Morishita >Priority: Normal > Fix For: 3.11.x, 4.0.x, 4.1.x, 5.0.x, 5.x > > Time Spent: 50m > Remaining Estimate: 0h > > h2. Proposed improvement > Right now, the stream sources for the bootstrap are chosen from the closest > nodes of the bootstrapping node. > Add the following system properties so that when bootstrap happens, the node > can choose where to stream data from. > * {{cassandra.bootstrap.include_dcs}} > * {{cassandra.bootstrap.exclude_dcs}} > * {{cassandra.bootstrap.include_sources}} > {{cassandra.bootstrap.include_dcs and }}{{cassandra.bootstrap.exclude_dcs can > take args like "dc1,dc2" to specify DCs or "dc1:rack1,dc1:rack2,..." to > specify DC/Racks.}} > {{cassandra.bootstrap.include_sources is used to specify ip address/port of > the specific nodes to stream from.}} > h2. Motivation > Currently, when the node failure happens in the middle of the major cluster > upgrade, general advice given to the user is to complete the upgrade of the > cluster until all nodes are in the same version, and replace/remove the > failed node. This is because the streaming breaks when there is unsupported > SSTable version streamed from newer to the older. > This approach can create availability issue when two nodes (the failed node > from different rack and the node currently stopped for the upgrade) are down. > With this improvement, the user can replace the failed node using, for > example, specific rack in the same DC or another DC, to eliminate the > availability issue described above. > h2. Note > The user also needs to set "-Dcassandra.skip_schema_check=true" when > replacing the node during the major upgrade to complete the replacement. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org