[jira] [Commented] (CASSANDRA-19144) Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2

2024-02-16 Thread Brandon Williams (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818076#comment-17818076
 ] 

Brandon Williams commented on CASSANDRA-19144:
--

I can confirm this fails the same way on 4.1 with 'paxos_variant: v2' in the 
config.

> Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2
> -
>
> Key: CASSANDRA-19144
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19144
> Project: Cassandra
>  Issue Type: Bug
>  Components: Consistency/Bootstrap and Decommission, 
> Feature/Lightweight Transactions
>Reporter: Branimir Lambov
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Paxos repair is causing an unexpected failure:
> {code}
> test_replace_with_insufficient_replicas
> replace_address_test.TestReplaceAddress
> failed on teardown with "Failed: Unexpected error found in node logs (see 
> stdout for full details). Errors: [[replacement] 'ERROR [main] 2023-11-29 
> 10:23:08,752 CassandraDaemon.java:878 - Exception encountered during 
> startup\njava.lang.UnsupportedOperationException: null\n\tat 
> org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat
>  
> org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat
>  
> org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat
>  
> org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat
>  
> org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat
>  
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']"
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[replacement] 'ERROR [main] 2023-11-29 10:23:08,752 CassandraDaemon.java:878 
> - Exception encountered during 
> startup\njava.lang.UnsupportedOperationException: null\n\tat 
> org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat
>  
> org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat
>  
> org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat
>  
> org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat
>  
> org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat
>  
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat
>  org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']
> {code}



--
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-19144) Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2

2024-02-16 Thread Brandon Williams (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-19144:
-
Fix Version/s: 4.1.x
   5.0.x
   5.x
   (was: 5.0-rc)

> Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2
> -
>
> Key: CASSANDRA-19144
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19144
> Project: Cassandra
>  Issue Type: Bug
>  Components: Consistency/Bootstrap and Decommission, 
> Feature/Lightweight Transactions
>Reporter: Branimir Lambov
>Priority: Normal
> Fix For: 4.1.x, 5.0.x, 5.x
>
>
> Paxos repair is causing an unexpected failure:
> {code}
> test_replace_with_insufficient_replicas
> replace_address_test.TestReplaceAddress
> failed on teardown with "Failed: Unexpected error found in node logs (see 
> stdout for full details). Errors: [[replacement] 'ERROR [main] 2023-11-29 
> 10:23:08,752 CassandraDaemon.java:878 - Exception encountered during 
> startup\njava.lang.UnsupportedOperationException: null\n\tat 
> org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat
>  
> org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat
>  
> org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat
>  
> org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat
>  
> org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat
>  
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']"
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[replacement] 'ERROR [main] 2023-11-29 10:23:08,752 CassandraDaemon.java:878 
> - Exception encountered during 
> startup\njava.lang.UnsupportedOperationException: null\n\tat 
> org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat
>  
> org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat
>  
> org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat
>  
> org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat
>  
> org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat
>  
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat
>  org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']
> {code}



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818075#comment-17818075
 ] 

Stefan Miklosovic edited comment on CASSANDRA-19201 at 2/16/24 6:56 PM:


[CASSANDRA-19201|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19201]
{noformat}
java17_pre-commit_tests 
  ✓ j17_build4m 51s
  ✓ j17_cqlsh_dtests_py3117m 6s
  ✓ j17_cqlsh_dtests_py311_vnode 7m 17s
  ✓ j17_cqlsh_dtests_py386m 33s
  ✓ j17_cqlsh_dtests_py38_vnode   7m 1s
  ✓ j17_cqlshlib_cython_tests7m 28s
  ✓ j17_cqlshlib_tests   6m 33s
  ✓ j17_dtests  34m 42s
  ✓ j17_dtests_vnode36m 16s
  ✕ j17_jvm_dtests  24m 24s
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testOptionalMtlsModeDoNotAllowNonSSLConnections TIMEOUTED
  
org.apache.cassandra.fuzz.harry.integration.model.ConcurrentQuiescentCheckerIntegrationTest
 testConcurrentReadWriteWorkload
  ✕ j17_jvm_dtests_vnode23m 17s
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testOptionalMtlsModeDoNotAllowNonSSLConnections TIMEOUTED
  ✕ j17_unit_tests  14m 51s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
  ✕ j17_utests_oa   13m 45s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
java17_separate_tests
java11_pre-commit_tests 
java11_separate_tests
{noformat}
[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/6f0ca0b9-ff42-4639-bbe4-f3ed8effd14b]
[java17_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/c06ee01c-d4ae-4d4d-9138-5a3e9c92bdeb]
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/e1c9b219-ffd0-48d7-afd5-1e3ed219f002]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/f0ff1f5a-fcf3-4294-beae-c5ba8bb6fb6e]

 

this is the fix 

https://github.com/instaclustr/cassandra/tree/CASSANDRA-19201


was (Author: smiklosovic):
[CASSANDRA-19201|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19201]
{noformat}
java17_pre-commit_tests 
  ✓ j17_build4m 51s
  ✓ j17_cqlsh_dtests_py3117m 6s
  ✓ j17_cqlsh_dtests_py311_vnode 7m 17s
  ✓ j17_cqlsh_dtests_py386m 33s
  ✓ j17_cqlsh_dtests_py38_vnode   7m 1s
  ✓ j17_cqlshlib_cython_tests7m 28s
  ✓ j17_cqlshlib_tests   6m 33s
  ✓ j17_dtests  34m 42s
  ✓ j17_dtests_vnode36m 16s
  ✕ j17_jvm_dtests  24m 24s
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testOptionalMtlsModeDoNotAllowNonSSLConnections TIMEOUTED
  
org.apache.cassandra.fuzz.harry.integration.model.ConcurrentQuiescentCheckerIntegrationTest
 testConcurrentReadWriteWorkload
  ✕ j17_jvm_dtests_vnode23m 17s
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testOptionalMtlsModeDoNotAllowNonSSLConnections TIMEOUTED
  ✕ j17_unit_tests  14m 51s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
  ✕ j17_utests_oa   13m 45s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
java17_separate_tests
java11_pre-commit_tests 
java11_separate_tests
{noformat}

[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/6f0ca0b9-ff42-4639-bbe4-f3ed8effd14b]
[java17_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/c06ee01c-d4ae-4d4d-9138-5a3e9c92bdeb]
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/e1c9b219-ffd0-48d7-afd5-1e3ed219f002]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/f0ff1f5a-fcf3-4294-beae-c5ba8bb6fb6e]


> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: 

[jira] [Updated] (CASSANDRA-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19201:
--
Status: Review In Progress  (was: Changes Suggested)

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19201:
--
Status: Needs Committer  (was: Review In Progress)

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818075#comment-17818075
 ] 

Stefan Miklosovic commented on CASSANDRA-19201:
---

[CASSANDRA-19201|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19201]
{noformat}
java17_pre-commit_tests 
  ✓ j17_build4m 51s
  ✓ j17_cqlsh_dtests_py3117m 6s
  ✓ j17_cqlsh_dtests_py311_vnode 7m 17s
  ✓ j17_cqlsh_dtests_py386m 33s
  ✓ j17_cqlsh_dtests_py38_vnode   7m 1s
  ✓ j17_cqlshlib_cython_tests7m 28s
  ✓ j17_cqlshlib_tests   6m 33s
  ✓ j17_dtests  34m 42s
  ✓ j17_dtests_vnode36m 16s
  ✕ j17_jvm_dtests  24m 24s
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testOptionalMtlsModeDoNotAllowNonSSLConnections TIMEOUTED
  
org.apache.cassandra.fuzz.harry.integration.model.ConcurrentQuiescentCheckerIntegrationTest
 testConcurrentReadWriteWorkload
  ✕ j17_jvm_dtests_vnode23m 17s
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testOptionalMtlsModeDoNotAllowNonSSLConnections TIMEOUTED
  ✕ j17_unit_tests  14m 51s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
  ✕ j17_utests_oa   13m 45s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
java17_separate_tests
java11_pre-commit_tests 
java11_separate_tests
{noformat}

[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/6f0ca0b9-ff42-4639-bbe4-f3ed8effd14b]
[java17_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/c06ee01c-d4ae-4d4d-9138-5a3e9c92bdeb]
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/e1c9b219-ffd0-48d7-afd5-1e3ed219f002]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3888/workflows/f0ff1f5a-fcf3-4294-beae-c5ba8bb6fb6e]


> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19393) nodetool: group CMS-related commands into one command

2024-02-16 Thread n.v.harikrishna (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818065#comment-17818065
 ] 

n.v.harikrishna commented on CASSANDRA-19393:
-

Thanks for the review. Sure, will add the commit and update documentation.

> nodetool: group CMS-related commands into one command
> -
>
> Key: CASSANDRA-19393
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19393
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tool/nodetool, Transactional Cluster Metadata
>Reporter: n.v.harikrishna
>Assignee: n.v.harikrishna
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The purpose of this ticket is to group all CMS-related commands under one 
> "nodetool cms" command where existing command would be subcommands of it.



--
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-19393) nodetool: group CMS-related commands into one command

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818061#comment-17818061
 ] 

Stefan Miklosovic edited comment on CASSANDRA-19393 at 2/16/24 5:48 PM:


[~n.v.harikrishna] could you please incorporate my suggestion 
https://github.com/smiklosovic/cassandra/commit/401be662d000598125bc44fc5c24e0d2095407ee

and go through the documentation and replace all occurrences of the individual 
commands by their new counter parts? I am talking mostly about 
TransactionalClusterMetadata.md in org.apache.cassandra.tcm package.


was (Author: smiklosovic):
[~n.v.harikrishna] could you please incorporate my suggestion 
https://github.com/smiklosovic/cassandra/commit/401be662d000598125bc44fc5c24e0d2095407ee

and go through the documentation and replace all occurrences of the individual 
commands by their new counter parts? 

> nodetool: group CMS-related commands into one command
> -
>
> Key: CASSANDRA-19393
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19393
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tool/nodetool, Transactional Cluster Metadata
>Reporter: n.v.harikrishna
>Assignee: n.v.harikrishna
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The purpose of this ticket is to group all CMS-related commands under one 
> "nodetool cms" command where existing command would be subcommands of it.



--
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-19393) nodetool: group CMS-related commands into one command

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818061#comment-17818061
 ] 

Stefan Miklosovic commented on CASSANDRA-19393:
---

[~n.v.harikrishna] could you please incorporate my suggestion 
https://github.com/smiklosovic/cassandra/commit/401be662d000598125bc44fc5c24e0d2095407ee

and go through the documentation and replace all occurrences of the individual 
commands by their new counter parts? 

> nodetool: group CMS-related commands into one command
> -
>
> Key: CASSANDRA-19393
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19393
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tool/nodetool, Transactional Cluster Metadata
>Reporter: n.v.harikrishna
>Assignee: n.v.harikrishna
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The purpose of this ticket is to group all CMS-related commands under one 
> "nodetool cms" command where existing command would be subcommands of it.



--
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-19404) Unexpected NullPointerException in ANN+WHERE when adding rows in another partition

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818060#comment-17818060
 ] 

Ekaterina Dimitrova commented on CASSANDRA-19404:
-

I can see the same error when testing on the initial Vector search commit from 
CASSANDRA-18715

> Unexpected NullPointerException in ANN+WHERE when adding rows in another 
> partition
> --
>
> Key: CASSANDRA-19404
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19404
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Vector Search
>Reporter: Stefano Lottini
>Assignee: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0-rc
>
>
> * *Bug observed on the Docker image 5.0-beta1*
>  * *Bug also observed on latest head of Cassandra repo (as of 2024-02-15)*
>  * _*(working fine on vsearch branch of datastax/cassandra, commit hash 
> 80c2f8b9ad5b89efee0645977a5ca53943717c0d)*_
> Summary: A query with _ann + where clause on a map + where clause on the 
> partition key_ starts erroring once there are other partitions in the table.
> There are three SELECT statements in the repro minimal code below - the third 
> is where the error is triggered.
> {code:java}
> // reproduced with Dockerized Cassandra 5.0-beta1 on 2024-02-15
> /
> // SCHEMA
> /
> CREATE TABLE ks.v_table (
> pk int,
> row_v vector,
> metadata map,
> PRIMARY KEY (pk)
> );
> CREATE CUSTOM INDEX v_md
> ON ks.v_table (entries(metadata))
> USING 'StorageAttachedIndex';
> CREATE CUSTOM INDEX v_idx
> ON ks.v_table (row_v)
> USING 'StorageAttachedIndex';
> /
> // SELECT WORKS (empty table)
> /
> SELECT * FROM ks.v_table
> WHERE metadata['map_k'] = 'map_v'
> AND pk = 0
> ORDER BY row_v ANN OF [0.1, 0.2]
> LIMIT 4;
> //
> // ADD ONE ROW
> //
> INSERT INTO ks.v_table (pk, metadata, row_v)
> VALUES
> (0, {'map_k': 'map_v'}, [0.11, 0.19]);
> /
> // SELECT WORKS (table has queried partition)
> /
> SELECT * FROM ks.v_table
> WHERE metadata['map_k'] = 'map_v'
> AND pk = 0
> ORDER BY row_v ANN OF [0.1, 0.2]
> LIMIT 4;
> //
> // ADD ONE ROW (another partition)
> //
> INSERT INTO ks.v_table (pk, metadata, row_v)
> VALUES
> (10, {'map_k': 'map_v'}, [0.11, 0.19]);
> /
> // SELECT BREAKS (table gained another partition)
> /
> SELECT * FROM ks.v_table
> WHERE metadata['map_k'] = 'map_v'
> AND pk = 0
> ORDER BY row_v ANN OF [0.1, 0.2]
> LIMIT 4; {code}
> The error has this appearance in CQL Console:
> {code:java}
> ReadFailure: Error from server: code=1300 [Replica(s) failed to execute read] 
> message="Operation failed - received 0 responses and 1 failures: UNKNOWN from 
> /172.17.0.2:7000" info={'consistency': 'ONE', 'required_responses': 1, 
> 'received_responses': 0, 'failures': 1, 'error_code_map': {'172.17.0.2': 
> '0x'}} {code}
> And the Cassandra logs have this to say:
> {code:java}
> java.lang.NullPointerException: Cannot invoke 
> "org.apache.cassandra.index.sai.iterators.KeyRangeIterator.skipTo(org.apache.cassandra.index.sai.utils.PrimaryKey)"
>  because "this.nextIterator" is null {code}
>  



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818054#comment-17818054
 ] 

Ekaterina Dimitrova commented on CASSANDRA-19409:
-

Found some in containers 1,3, 4... not efficient to check containers, I will 
try to identify what commands are run in Jenkins and circle ci to determine 
what tests to run and compare later today. We will also be able to see whether 
we run the same amount of tests, etc

 

> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818052#comment-17818052
 ] 

Ekaterina Dimitrova commented on CASSANDRA-19409:
-

Thanks! I found now test_parallel_upgrade_with_internode_ssl and 
test_parallel_upgrade under artifacts, I guess TestProto* can be identified per 
container if it was run or not and not visible under artifacts in CircleCI. Let 
me see 

> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818052#comment-17818052
 ] 

Ekaterina Dimitrova edited comment on CASSANDRA-19409 at 2/16/24 5:00 PM:
--

Thanks! I found now test_parallel_upgrade_with_internode_ssl and 
test_parallel_upgrade under artifacts, I guess TestProto* can be identified 
looking per container log if it was run or not and not visible under artifacts 
in CircleCI. Let me see 


was (Author: e.dimitrova):
Thanks! I found now test_parallel_upgrade_with_internode_ssl and 
test_parallel_upgrade under artifacts, I guess TestProto* can be identified per 
container if it was run or not and not visible under artifacts in CircleCI. Let 
me see 

> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Brandon Williams (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818047#comment-17818047
 ] 

Brandon Williams commented on CASSANDRA-19409:
--

bq. I cannot find these tests under artifacts in CircleCI

I see some test_parallel_upgrade_with_internode_ssl artifacts there.



> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818039#comment-17818039
 ] 

Ekaterina Dimitrova edited comment on CASSANDRA-19409 at 2/16/24 4:38 PM:
--

I am not sure what we run in Jenkins and what we run in CircleCI now... I 
cannot find these tests under artifacts in CircleCI. At the same time, we have 
now two upgrade test jobs in Jenkins (my guess is something was added after the 
in-tree scripts were committed?), so I guess the command what tests we will run 
is now different in CircleCI and Jenkins... need to dig into that and identify 
that we run everything in both places.

CC [~mck] , [~brandonwilliams] , [~jmckenzie] , [~stefan.miklosovic] , 
[~mmuzaf] as you were involved in CASSANDRA-18133


was (Author: e.dimitrova):
I am not sure what we run in Jenkins and what we run in CircleCI now... I 
cannot find these tests under artifacts in CircleCI. At the same time, we have 
now two upgrade test jobs in Jenkins (my guess is something was added after the 
in-tree scripts were committed?), so I guess the command what tests we will run 
is now different in CircleCI and Jenkins... need to dig into that and identify 
that we run everything in both places.

> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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] (CASSANDRA-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ https://issues.apache.org/jira/browse/CASSANDRA-19201 ]


Stefan Miklosovic deleted comment on CASSANDRA-19201:
---

was (Author: smiklosovic):
[~bschoeni]  well, it helped, but there are few more failures (1)

[https://app.circleci.com/pipelines/github/instaclustr/cassandra/3887/workflows/f5e8d089-39ab-4760-a869-f480a948bbfd/jobs/193078/parallel-runs/21?filterBy=FAILED]

Please take a look, thank you very much

However, I think that it wont be so easy, because Python driver is using Shell 
so it wont match the arguments which I fixed 

 
{noformat}
  ✕ j17_cqlsh_dtests_py311                           6m 52s
      cqlsh_tests.test_cqlsh_copy.TestCqlshCopy 
test_round_trip_with_authentication
        AssertionError: Failed to import 10 rows
          STDOUT:
          
          Warning: Using a password on the command line interface can be 
insecure.
          Recommendation: use the credentials file to securely provide the 
password.
          
          Using CQL driver: 
          Using connect timeout: 5 seconds
          Using 'utf-8' encoding
          Using ssl: False
          Traceback (most recent call last):
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 779, in 
onecmd
              self.handle_statement(st, statementtext)
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 816, in 
handle_statement
              return custom_handler(parsed)
                     ^^
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 1486, in 
do_source
              subshell = Shell(self.hostname, self.port, color=self.color,
                         ^
          TypeError: Shell.__init__() missing 1 required positional argument: 
'config_file'
          
          STDERR:
 {noformat}
So, I think that we need to move CONFIG_FILE back as it was before ...

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19397) Remove all code around native_transport_port_ssl

2024-02-16 Thread Brandon Williams (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-19397:
-
Status: Ready to Commit  (was: Review In Progress)

> Remove all code around native_transport_port_ssl
> 
>
> Key: CASSANDRA-19397
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19397
> Project: Cassandra
>  Issue Type: Task
>  Components: Legacy/Core
>Reporter: Stefan Miklosovic
>Assignee: Stefan Miklosovic
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> We deprecated native_transport_port_ssl in CASSANDRA-19392 and we told we go 
> to remove it next. This ticket is about that removal. 



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818038#comment-17818038
 ] 

Stefan Miklosovic edited comment on CASSANDRA-19201 at 2/16/24 4:36 PM:


[~bschoeni]  well, it helped, but there are few more failures (1)

[https://app.circleci.com/pipelines/github/instaclustr/cassandra/3887/workflows/f5e8d089-39ab-4760-a869-f480a948bbfd/jobs/193078/parallel-runs/21?filterBy=FAILED]

Please take a look, thank you very much

However, I think that it wont be so easy, because Python driver is using Shell 
so it wont match the arguments which I fixed 

 
{noformat}
  ✕ j17_cqlsh_dtests_py311                           6m 52s
      cqlsh_tests.test_cqlsh_copy.TestCqlshCopy 
test_round_trip_with_authentication
        AssertionError: Failed to import 10 rows
          STDOUT:
          
          Warning: Using a password on the command line interface can be 
insecure.
          Recommendation: use the credentials file to securely provide the 
password.
          
          Using CQL driver: 
          Using connect timeout: 5 seconds
          Using 'utf-8' encoding
          Using ssl: False
          Traceback (most recent call last):
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 779, in 
onecmd
              self.handle_statement(st, statementtext)
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 816, in 
handle_statement
              return custom_handler(parsed)
                     ^^
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 1486, in 
do_source
              subshell = Shell(self.hostname, self.port, color=self.color,
                         ^
          TypeError: Shell.__init__() missing 1 required positional argument: 
'config_file'
          
          STDERR:
 {noformat}
So, I think that we need to more CONFIG_FILE back as it was before ...


was (Author: smiklosovic):
[~bschoeni]  well, it helped, but there are few more failures (1)

[https://app.circleci.com/pipelines/github/instaclustr/cassandra/3887/workflows/f5e8d089-39ab-4760-a869-f480a948bbfd/jobs/193078/parallel-runs/21?filterBy=FAILED]

Please take a look, thank you very much

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818038#comment-17818038
 ] 

Stefan Miklosovic edited comment on CASSANDRA-19201 at 2/16/24 4:36 PM:


[~bschoeni]  well, it helped, but there are few more failures (1)

[https://app.circleci.com/pipelines/github/instaclustr/cassandra/3887/workflows/f5e8d089-39ab-4760-a869-f480a948bbfd/jobs/193078/parallel-runs/21?filterBy=FAILED]

Please take a look, thank you very much

However, I think that it wont be so easy, because Python driver is using Shell 
so it wont match the arguments which I fixed 

 
{noformat}
  ✕ j17_cqlsh_dtests_py311                           6m 52s
      cqlsh_tests.test_cqlsh_copy.TestCqlshCopy 
test_round_trip_with_authentication
        AssertionError: Failed to import 10 rows
          STDOUT:
          
          Warning: Using a password on the command line interface can be 
insecure.
          Recommendation: use the credentials file to securely provide the 
password.
          
          Using CQL driver: 
          Using connect timeout: 5 seconds
          Using 'utf-8' encoding
          Using ssl: False
          Traceback (most recent call last):
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 779, in 
onecmd
              self.handle_statement(st, statementtext)
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 816, in 
handle_statement
              return custom_handler(parsed)
                     ^^
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 1486, in 
do_source
              subshell = Shell(self.hostname, self.port, color=self.color,
                         ^
          TypeError: Shell.__init__() missing 1 required positional argument: 
'config_file'
          
          STDERR:
 {noformat}
So, I think that we need to move CONFIG_FILE back as it was before ...


was (Author: smiklosovic):
[~bschoeni]  well, it helped, but there are few more failures (1)

[https://app.circleci.com/pipelines/github/instaclustr/cassandra/3887/workflows/f5e8d089-39ab-4760-a869-f480a948bbfd/jobs/193078/parallel-runs/21?filterBy=FAILED]

Please take a look, thank you very much

However, I think that it wont be so easy, because Python driver is using Shell 
so it wont match the arguments which I fixed 

 
{noformat}
  ✕ j17_cqlsh_dtests_py311                           6m 52s
      cqlsh_tests.test_cqlsh_copy.TestCqlshCopy 
test_round_trip_with_authentication
        AssertionError: Failed to import 10 rows
          STDOUT:
          
          Warning: Using a password on the command line interface can be 
insecure.
          Recommendation: use the credentials file to securely provide the 
password.
          
          Using CQL driver: 
          Using connect timeout: 5 seconds
          Using 'utf-8' encoding
          Using ssl: False
          Traceback (most recent call last):
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 779, in 
onecmd
              self.handle_statement(st, statementtext)
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 816, in 
handle_statement
              return custom_handler(parsed)
                     ^^
            File 
"/home/cassandra/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 1486, in 
do_source
              subshell = Shell(self.hostname, self.port, color=self.color,
                         ^
          TypeError: Shell.__init__() missing 1 required positional argument: 
'config_file'
          
          STDERR:
 {noformat}
So, I think that we need to more CONFIG_FILE back as it was before ...

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19397) Remove all code around native_transport_port_ssl

2024-02-16 Thread Brandon Williams (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818041#comment-17818041
 ] 

Brandon Williams commented on CASSANDRA-19397:
--

The in-jvm dtests that timed out passed for me locally, otherwise I see 
CASSANDRA-19279, CASSANDRA-19280, and CASSANDRA-19168.  I don't see any 
potential for flakiness with the dtest patch so I don't think we need to repeat 
it. +1 from me.

> Remove all code around native_transport_port_ssl
> 
>
> Key: CASSANDRA-19397
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19397
> Project: Cassandra
>  Issue Type: Task
>  Components: Legacy/Core
>Reporter: Stefan Miklosovic
>Assignee: Stefan Miklosovic
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> We deprecated native_transport_port_ssl in CASSANDRA-19392 and we told we go 
> to remove it next. This ticket is about that removal. 



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818039#comment-17818039
 ] 

Ekaterina Dimitrova edited comment on CASSANDRA-19409 at 2/16/24 4:33 PM:
--

I am not sure what we run in Jenkins and what we run in CircleCI now... I 
cannot find these tests under artifacts in CircleCI. At the same time, we have 
now two upgrade test jobs in Jenkins (my guess is something was added after the 
in-tree scripts were committed?), so I guess the command what tests we will run 
is now different in CircleCI and Jenkins... need to dig into that and identify 
that we run everything in both places.


was (Author: e.dimitrova):
I am not sure what we run in Jenkins and what we run in CircleCI now... I 
cannot find these tests under artifacts. At the same time we have now two 
upgrade test jobs in Jenkins (my guess is something was added after the in-tree 
scripts were committed?), so I guess the command what tests we will run is now 
different in CircleCI and Jenkins... need to dig into that and identify that we 
run everything in both places.

> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0.x
>
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-19409:

Fix Version/s: 5.0-rc
   (was: 5.0.x)

> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818038#comment-17818038
 ] 

Stefan Miklosovic commented on CASSANDRA-19201:
---

[~bschoeni]  well, it helped, but there are few more failures (1)

[https://app.circleci.com/pipelines/github/instaclustr/cassandra/3887/workflows/f5e8d089-39ab-4760-a869-f480a948bbfd/jobs/193078/parallel-runs/21?filterBy=FAILED]

Please take a look, thank you very much

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818032#comment-17818032
 ] 

Ekaterina Dimitrova commented on CASSANDRA-19409:
-

These tests are failing consistently in Jenkins:
h3.  
{code:java}
Error Message
Failed: Timeout >900.0s
{code}
Though I do not see them failing in CircleCI:

https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2650/workflows/3a3d1860-e06a-4a5b-a67d-32bb1b09e80f/jobs/56464/steps

 

> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0.x
>
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-19409:

Fix Version/s: 5.0.x
   (was: 5.0-rc)

> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0.x
>
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-19409:

 Bug Category: Parent values: Correctness(12982)Level 1 values: Test 
Failure(12990)
   Complexity: Normal
  Component/s: CI
Discovered By: User Report
 Severity: Normal
   Status: Open  (was: Triage Needed)

> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-19409:

Fix Version/s: 5.0-rc

> Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
> -
>
> Key: CASSANDRA-19409
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
> Project: Cassandra
>  Issue Type: Bug
>  Components: CI
>Reporter: Ekaterina Dimitrova
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Failing in Jenkins:
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
>  * 
> [dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
>  * 
> [dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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] [Created] (CASSANDRA-19409) Test Failure: dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*

2024-02-16 Thread Ekaterina Dimitrova (Jira)
Ekaterina Dimitrova created CASSANDRA-19409:
---

 Summary: Test Failure: 
dtest-upgrade.upgrade_tests.upgrade_through_versions_test.*
 Key: CASSANDRA-19409
 URL: https://issues.apache.org/jira/browse/CASSANDRA-19409
 Project: Cassandra
  Issue Type: Bug
Reporter: Ekaterina Dimitrova


Failing in Jenkins:
 * 
[dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
 * 
[dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode-large.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]
 * 
[dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade-novnode.upgrade_tests.upgrade_through_versions_test/TestProtoV3Upgrade_AllVersions_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
 * 
[dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade/]
 * 
[dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD.test_parallel_upgrade_with_internode_ssl|https://ci-cassandra.apache.org/job/Cassandra-5.0/170/testReport/junit/dtest-upgrade.upgrade_tests.upgrade_through_versions_test/TestProtoV4Upgrade_AllVersions_RandomPartitioner_EndsAt_Trunk_HEAD/test_parallel_upgrade_with_internode_ssl/]



--
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-19145) Python dtest TestWriteFailures.test_paxos is failing with Paxos V2

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818023#comment-17818023
 ] 

Ekaterina Dimitrova commented on CASSANDRA-19145:
-

I rebased my latest repo and reinstalled ccm to pull the latest changes from 
CASSANDRA-18753.

Current 5.0 locally with this command: 
{code:java}
pytest --use-vnodes  --log-cli-level="DEBUG" 
write_failures_test.py::TestWriteFailures::test_paxos 
--cassandra-dir=/Users/ekaterina.dimitrova/cassandra{code}
the test passes, but it shows from the logs this error:

 
{code:java}
==
 short test summary info 
==
ERROR write_failures_test.py::TestWriteFailures::test_paxos - Failed: 
Unexpected error found in node logs (see stdout for full details). Errors: 
[[node1] 'ERROR [Messaging-EventLoop-3-4] 2024-02-16 10:58:43,050 
NoSpamLogger.java:110 - 
/127.0.0.1:7000->/127.0.0.2:7000-URGENT_MESSAGES-[no-channel] faile...
{code}
The reported issue reproduces with 5.0 branch and changing to paxos v2 only in 
the default yaml config:

 
{code:java}
___
 TestWriteFailures.test_paxos 

 
self = 
 
    def test_paxos(self):
        """
        A light transaction receives a WriteFailure
        """
>       exc = self._perform_cql_statement("INSERT INTO mytable (key, value) 
> VALUES ('key1', 'Value 1') IF NOT EXISTS")
 
write_failures_test.py:202: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _
write_failures_test.py:88: in _perform_cql_statement
    session.execute(statement)
cassandra/cluster.py:2618: in cassandra.cluster.Session.execute
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _
 
>   ???
E   cassandra.WriteTimeout: Error from server: code=1100 [Coordinator node 
timed out waiting for replica nodes' responses] message="CAS operation timed 
out: received 1 of 2 required responses after 0 contention retries" 
info={'consistency': 'SERIAL', 'required_responses': 2, 'received_responses': 
1, 'write_type': 'CAS'}
 
cassandra/cluster.py:4894: WriteTimeout
{code}
 

 

> Python dtest TestWriteFailures.test_paxos is failing with Paxos V2
> --
>
> Key: CASSANDRA-19145
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19145
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Lightweight Transactions
>Reporter: Branimir Lambov
>Priority: Normal
>
> With configuration changed to engage Paxos V2 with repaired state purging, 
> the dtest fails with:
> {code}
> test_paxos
> write_failures_test.TestWriteFailures
> self = 
> def test_paxos(self):
> """
> A light transaction receives a WriteFailure
> """
> >   exc = self._perform_cql_statement("INSERT INTO mytable (key, value) 
> > VALUES ('key1', 'Value 1') IF NOT EXISTS")
> write_failures_test.py:202: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> write_failures_test.py:88: in _perform_cql_statement
> session.execute(statement)
> ../env3.7/src/cassandra-driver/cassandra/cluster.py:2618: in execute
> return self.execute_async(query, parameters, trace, custom_payload, 
> timeout, execution_profile, paging_state, host, execute_as).result()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self =  'required_responses': 2, 'received_responses': 1, 'write_type': 'CAS'} 
> coordinator_host=127.0.0.1:9042>
> def result(self):
> """
> Return the final result or raise an Exception if errors were
> encountered.  If the final result or error has not been set
> yet, this method will block until it is set, or the timeout
> set for the request expires.
> 
> Timeout is specified in the Session request execution functions.
> If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` 
> will be raised.
> This is a client-side timeout. For more information
> about server-side coordinator timeouts, see 
> :class:`.policies.RetryPolicy`.
> 
>

[jira] [Updated] (CASSANDRA-19145) Python dtest TestWriteFailures.test_paxos is failing with Paxos V2

2024-02-16 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-19145:

Fix Version/s: 5.0-rc

> Python dtest TestWriteFailures.test_paxos is failing with Paxos V2
> --
>
> Key: CASSANDRA-19145
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19145
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Lightweight Transactions
>Reporter: Branimir Lambov
>Priority: Normal
> Fix For: 5.0-rc
>
>
> With configuration changed to engage Paxos V2 with repaired state purging, 
> the dtest fails with:
> {code}
> test_paxos
> write_failures_test.TestWriteFailures
> self = 
> def test_paxos(self):
> """
> A light transaction receives a WriteFailure
> """
> >   exc = self._perform_cql_statement("INSERT INTO mytable (key, value) 
> > VALUES ('key1', 'Value 1') IF NOT EXISTS")
> write_failures_test.py:202: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> write_failures_test.py:88: in _perform_cql_statement
> session.execute(statement)
> ../env3.7/src/cassandra-driver/cassandra/cluster.py:2618: in execute
> return self.execute_async(query, parameters, trace, custom_payload, 
> timeout, execution_profile, paging_state, host, execute_as).result()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self =  'required_responses': 2, 'received_responses': 1, 'write_type': 'CAS'} 
> coordinator_host=127.0.0.1:9042>
> def result(self):
> """
> Return the final result or raise an Exception if errors were
> encountered.  If the final result or error has not been set
> yet, this method will block until it is set, or the timeout
> set for the request expires.
> 
> Timeout is specified in the Session request execution functions.
> If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` 
> will be raised.
> This is a client-side timeout. For more information
> about server-side coordinator timeouts, see 
> :class:`.policies.RetryPolicy`.
> 
> Example usage::
> 
> >>> future = session.execute_async("SELECT * FROM mycf")
> >>> # do other stuff...
> 
> >>> try:
> ... rows = future.result()
> ... for row in rows:
> ... ... # process results
> ... except Exception:
> ... log.exception("Operation failed:")
> 
> """
> self._event.wait()
> if self._final_result is not _NOT_SET:
> return ResultSet(self, self._final_result)
> else:
> >   raise self._final_exception
> E   cassandra.WriteTimeout: Error from server: code=1100 [Coordinator 
> node timed out waiting for replica nodes' responses] message="CAS operation 
> timed out: received 1 of 2 required responses after 0 contention retries" 
> info={'consistency': 'SERIAL', 'required_responses': 2, 'received_responses': 
> 1, 'write_type': 'CAS'}
> ../env3.7/src/cassandra-driver/cassandra/cluster.py:4894: WriteTimeout
> {code}



--
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-19145) Python dtest TestWriteFailures.test_paxos is failing with Paxos V2

2024-02-16 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-19145:

 Bug Category: Parent values: Correctness(12982)Level 1 values: Test 
Failure(12990)
   Complexity: Normal
Discovered By: User Report
 Severity: Normal
   Status: Open  (was: Triage Needed)

> Python dtest TestWriteFailures.test_paxos is failing with Paxos V2
> --
>
> Key: CASSANDRA-19145
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19145
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Lightweight Transactions
>Reporter: Branimir Lambov
>Priority: Normal
>
> With configuration changed to engage Paxos V2 with repaired state purging, 
> the dtest fails with:
> {code}
> test_paxos
> write_failures_test.TestWriteFailures
> self = 
> def test_paxos(self):
> """
> A light transaction receives a WriteFailure
> """
> >   exc = self._perform_cql_statement("INSERT INTO mytable (key, value) 
> > VALUES ('key1', 'Value 1') IF NOT EXISTS")
> write_failures_test.py:202: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> write_failures_test.py:88: in _perform_cql_statement
> session.execute(statement)
> ../env3.7/src/cassandra-driver/cassandra/cluster.py:2618: in execute
> return self.execute_async(query, parameters, trace, custom_payload, 
> timeout, execution_profile, paging_state, host, execute_as).result()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self =  'required_responses': 2, 'received_responses': 1, 'write_type': 'CAS'} 
> coordinator_host=127.0.0.1:9042>
> def result(self):
> """
> Return the final result or raise an Exception if errors were
> encountered.  If the final result or error has not been set
> yet, this method will block until it is set, or the timeout
> set for the request expires.
> 
> Timeout is specified in the Session request execution functions.
> If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` 
> will be raised.
> This is a client-side timeout. For more information
> about server-side coordinator timeouts, see 
> :class:`.policies.RetryPolicy`.
> 
> Example usage::
> 
> >>> future = session.execute_async("SELECT * FROM mycf")
> >>> # do other stuff...
> 
> >>> try:
> ... rows = future.result()
> ... for row in rows:
> ... ... # process results
> ... except Exception:
> ... log.exception("Operation failed:")
> 
> """
> self._event.wait()
> if self._final_result is not _NOT_SET:
> return ResultSet(self, self._final_result)
> else:
> >   raise self._final_exception
> E   cassandra.WriteTimeout: Error from server: code=1100 [Coordinator 
> node timed out waiting for replica nodes' responses] message="CAS operation 
> timed out: received 1 of 2 required responses after 0 contention retries" 
> info={'consistency': 'SERIAL', 'required_responses': 2, 'received_responses': 
> 1, 'write_type': 'CAS'}
> ../env3.7/src/cassandra-driver/cassandra/cluster.py:4894: WriteTimeout
> {code}



--
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-19145) Python dtest TestWriteFailures.test_paxos is failing with Paxos V2

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818025#comment-17818025
 ] 

Ekaterina Dimitrova commented on CASSANDRA-19145:
-

Marking with 5.0-rc until the discussion on what is release blocker settles in 
CASSANDRA-18753

> Python dtest TestWriteFailures.test_paxos is failing with Paxos V2
> --
>
> Key: CASSANDRA-19145
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19145
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Lightweight Transactions
>Reporter: Branimir Lambov
>Priority: Normal
> Fix For: 5.0-rc
>
>
> With configuration changed to engage Paxos V2 with repaired state purging, 
> the dtest fails with:
> {code}
> test_paxos
> write_failures_test.TestWriteFailures
> self = 
> def test_paxos(self):
> """
> A light transaction receives a WriteFailure
> """
> >   exc = self._perform_cql_statement("INSERT INTO mytable (key, value) 
> > VALUES ('key1', 'Value 1') IF NOT EXISTS")
> write_failures_test.py:202: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> write_failures_test.py:88: in _perform_cql_statement
> session.execute(statement)
> ../env3.7/src/cassandra-driver/cassandra/cluster.py:2618: in execute
> return self.execute_async(query, parameters, trace, custom_payload, 
> timeout, execution_profile, paging_state, host, execute_as).result()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> self =  'required_responses': 2, 'received_responses': 1, 'write_type': 'CAS'} 
> coordinator_host=127.0.0.1:9042>
> def result(self):
> """
> Return the final result or raise an Exception if errors were
> encountered.  If the final result or error has not been set
> yet, this method will block until it is set, or the timeout
> set for the request expires.
> 
> Timeout is specified in the Session request execution functions.
> If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` 
> will be raised.
> This is a client-side timeout. For more information
> about server-side coordinator timeouts, see 
> :class:`.policies.RetryPolicy`.
> 
> Example usage::
> 
> >>> future = session.execute_async("SELECT * FROM mycf")
> >>> # do other stuff...
> 
> >>> try:
> ... rows = future.result()
> ... for row in rows:
> ... ... # process results
> ... except Exception:
> ... log.exception("Operation failed:")
> 
> """
> self._event.wait()
> if self._final_result is not _NOT_SET:
> return ResultSet(self, self._final_result)
> else:
> >   raise self._final_exception
> E   cassandra.WriteTimeout: Error from server: code=1100 [Coordinator 
> node timed out waiting for replica nodes' responses] message="CAS operation 
> timed out: received 1 of 2 required responses after 0 contention retries" 
> info={'consistency': 'SERIAL', 'required_responses': 2, 'received_responses': 
> 1, 'write_type': 'CAS'}
> ../env3.7/src/cassandra-driver/cassandra/cluster.py:4894: WriteTimeout
> {code}



--
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-19393) nodetool: group CMS-related commands into one command

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818020#comment-17818020
 ] 

Stefan Miklosovic commented on CASSANDRA-19393:
---

[CASSANDRA-19393-trunk|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19393-trunk]
{noformat}
java17_pre-commit_tests 
  ✓ j17_build4m 25s
  ✓ j17_cqlsh_dtests_py311   6m 47s
  ✓ j17_cqlsh_dtests_py311_vnode 7m 27s
  ✓ j17_cqlsh_dtests_py386m 51s
  ✓ j17_cqlsh_dtests_py38_vnode  7m 36s
  ✓ j17_cqlshlib_cython_tests 8m 5s
  ✓ j17_cqlshlib_tests   8m 14s
  ✓ j17_dtests  36m 18s
  ✓ j17_dtests_vnode34m 20s
  ✓ j17_jvm_dtests_repeat0m 15s
  ✓ j17_jvm_dtests_vnode_repeat  0m 16s
  ✕ j17_jvm_dtests  25m 29s
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testOptionalMtlsModeDoNotAllowNonSSLConnections
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
unencryptedNativeConnectionNotlisteningOnTlsPortTest
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
optionalTlsConnectionAllowedToRegularPortTest
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testEndpointVerificationEnabledIpNotInSAN
  ✕ j17_jvm_dtests_vnode20m 51s
  junit.framework.TestSuite 
org.apache.cassandra.fuzz.harry.integration.model.InJVMTokenAwareExecutorTest 
TIMEOUTED
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
optionalTlsConnectionAllowedToRegularPortTest
  ✕ j17_unit_tests  14m 49s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
  ✕ j17_utests_oa   13m 47s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
java17_separate_tests
java11_pre-commit_tests 
java11_separate_tests
{noformat}

[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3885/workflows/020458e0-fc10-4765-bf5a-900ba189db43]
[java17_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3885/workflows/8925f011-d0c6-4266-8dfe-fc0dcc9d5e4b]
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3885/workflows/7b483fec-bfc0-4a0d-a8f5-2323b75e82a0]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3885/workflows/af6219bb-abf0-41da-86c7-87f9e2193386]


> nodetool: group CMS-related commands into one command
> -
>
> Key: CASSANDRA-19393
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19393
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tool/nodetool, Transactional Cluster Metadata
>Reporter: n.v.harikrishna
>Assignee: n.v.harikrishna
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The purpose of this ticket is to group all CMS-related commands under one 
> "nodetool cms" command where existing command would be subcommands of it.



--
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-19144) Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818012#comment-17818012
 ] 

Ekaterina Dimitrova commented on CASSANDRA-19144:
-

Marking it 5.0-rc until the discussion around CASSANDRA-18753 settles which 
issues will be release blockers. Also, we need to test with 4.1 too after we 
figure out what config triggers the problem. 

> Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2
> -
>
> Key: CASSANDRA-19144
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19144
> Project: Cassandra
>  Issue Type: Bug
>  Components: Consistency/Bootstrap and Decommission, 
> Feature/Lightweight Transactions
>Reporter: Branimir Lambov
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Paxos repair is causing an unexpected failure:
> {code}
> test_replace_with_insufficient_replicas
> replace_address_test.TestReplaceAddress
> failed on teardown with "Failed: Unexpected error found in node logs (see 
> stdout for full details). Errors: [[replacement] 'ERROR [main] 2023-11-29 
> 10:23:08,752 CassandraDaemon.java:878 - Exception encountered during 
> startup\njava.lang.UnsupportedOperationException: null\n\tat 
> org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat
>  
> org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat
>  
> org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat
>  
> org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat
>  
> org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat
>  
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']"
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[replacement] 'ERROR [main] 2023-11-29 10:23:08,752 CassandraDaemon.java:878 
> - Exception encountered during 
> startup\njava.lang.UnsupportedOperationException: null\n\tat 
> org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat
>  
> org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat
>  
> org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat
>  
> org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat
>  
> org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat
>  
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat
>  org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']
> {code}



--
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-19144) Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818010#comment-17818010
 ] 

Ekaterina Dimitrova edited comment on CASSANDRA-19144 at 2/16/24 3:51 PM:
--

I rebased my dtest repo and reinstalled the latest ccm changes from 
CASSANDRA-18753

The command I use to run the tests locally:
{code:java}
pytest --use-vnodes  --log-cli-level="DEBUG" 
replace_address_test.py::TestReplaceAddress::test_replace_with_insufficient_replicas
 --cassandra-dir=...{code}
Locally with current 5.0 branch with paxos V2 and no other config changes the 
test fails for me:

 
{code:java}
replace_address_test.py:636: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _
 
self = , exprs = 'Unable to find 
sufficient sources for streaming range', from_mark = None, timeout = 600, 
process = None, verbose = False, filename = 'system.log', 
error_on_pid_terminated = False
 
    def watch_log_for(self, exprs, from_mark=None, timeout=600,
                      process=None, verbose=False, filename='system.log',
                      error_on_pid_terminated=False):
        """
        Watch the log until one or more (regular) expressions are found or 
timeouts (a
        TimeoutError is then raised). On successful completion, a list of pair 
(line matched,
        match object) is returned.
    
        Will raise NodeError if error_on_pit_terminated is True and C* pid is 
not running.
        """
        start = time.time()
        tofind = [exprs] if isinstance(exprs, string_types) else exprs
        tofind = [re.compile(e) for e in tofind]
        matchings = []
        reads = ""
        if len(tofind) == 0:
            return None
    
        log_file = os.path.join(self.log_directory(), filename)
        output_read = False
        while not os.path.exists(log_file):
            time.sleep(.5)
            TimeoutError.raise_if_passed(start=start, timeout=timeout, 
node=self.name,
                                         msg="Timed out waiting for {} to be 
created.".format(log_file))
    
            if process and not output_read:
                process.poll()
                if process.returncode is not None:
                    self.print_process_output(self.name, process, verbose)
                    output_read = True
                    if process.returncode != 0:
                        raise RuntimeError()  # Shouldn't reuse RuntimeError 
but I'm lazy
    
        with open(log_file) as f:
            if from_mark:
                f.seek(from_mark)
    
            while True:
                # First, if we have a process to check, then check it.
                # Skip on Windows - stdout/stderr is cassandra.bat
                if not common.is_win() and not output_read:
                    if process:
                        process.poll()
                        if process.returncode is not None:
                            self.print_process_output(self.name, process, 
verbose)
                            output_read = True
                            if process.returncode != 0:
                                raise RuntimeError()  # Shouldn't reuse 
RuntimeError but I'm lazy
    
                line = f.readline()
                if line:
                    reads = reads + line
                    for e in tofind:
                        m = e.search(line)
                        if m:
                            matchings.append((line, m))
                            tofind.remove(e)
                            if len(tofind) == 0:
                                return matchings[0] if isinstance(exprs, 
string_types) else matchings
                else:
                    # wait for the situation to clarify, either stop or just a 
pause in log production
>                   time.sleep(1)
E                   Failed: Timeout >900.0s
 
../dtest/lib/python3.8/site-packages/ccmlib/node.py:603: Failed
{code}
 
{code:java}
==
 short test summary info 
==
FAILED 
replace_address_test.py::TestReplaceAddress::test_replace_with_insufficient_replicas
 - Failed: Timeout >900.0s
ERROR 
replace_address_test.py::TestReplaceAddress::test_replace_with_insufficient_replicas
 - Failed: Unexpected error found in node logs (see stdout for full details). 
Errors: [[node1] 'ERROR [Messaging-EventLoop-3-6] 2024-02-16 10:08:25,888 
NoSpamLogger.java:110 - 
/127.0.0.1:7000->/127.0.0.3:7000-URGENT_MESSAGES-[no-channel] faile...
{code}
This is how it fails with v2:

 
{code:java}

[jira] [Commented] (CASSANDRA-19144) Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2

2024-02-16 Thread Ekaterina Dimitrova (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818010#comment-17818010
 ] 

Ekaterina Dimitrova commented on CASSANDRA-19144:
-

I rebased my dtest repo and reinstalled the latest ccm changes from 
CASSANDRA-18753

The command I use to run the tests locally:
{code:java}
pytest --use-vnodes  --log-cli-level="DEBUG" 
replace_address_test.py::TestReplaceAddress::test_replace_with_insufficient_replicas
 --cassandra-dir=...{code}

Locally with current 5.0 branch with paxos V2 and no other config changes the 
test fails for me:

 
{code:java}
replace_address_test.py:636: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _
 
self = , exprs = 'Unable to find 
sufficient sources for streaming range', from_mark = None, timeout = 600, 
process = None, verbose = False, filename = 'system.log', 
error_on_pid_terminated = False
 
    def watch_log_for(self, exprs, from_mark=None, timeout=600,
                      process=None, verbose=False, filename='system.log',
                      error_on_pid_terminated=False):
        """
        Watch the log until one or more (regular) expressions are found or 
timeouts (a
        TimeoutError is then raised). On successful completion, a list of pair 
(line matched,
        match object) is returned.
    
        Will raise NodeError if error_on_pit_terminated is True and C* pid is 
not running.
        """
        start = time.time()
        tofind = [exprs] if isinstance(exprs, string_types) else exprs
        tofind = [re.compile(e) for e in tofind]
        matchings = []
        reads = ""
        if len(tofind) == 0:
            return None
    
        log_file = os.path.join(self.log_directory(), filename)
        output_read = False
        while not os.path.exists(log_file):
            time.sleep(.5)
            TimeoutError.raise_if_passed(start=start, timeout=timeout, 
node=self.name,
                                         msg="Timed out waiting for {} to be 
created.".format(log_file))
    
            if process and not output_read:
                process.poll()
                if process.returncode is not None:
                    self.print_process_output(self.name, process, verbose)
                    output_read = True
                    if process.returncode != 0:
                        raise RuntimeError()  # Shouldn't reuse RuntimeError 
but I'm lazy
    
        with open(log_file) as f:
            if from_mark:
                f.seek(from_mark)
    
            while True:
                # First, if we have a process to check, then check it.
                # Skip on Windows - stdout/stderr is cassandra.bat
                if not common.is_win() and not output_read:
                    if process:
                        process.poll()
                        if process.returncode is not None:
                            self.print_process_output(self.name, process, 
verbose)
                            output_read = True
                            if process.returncode != 0:
                                raise RuntimeError()  # Shouldn't reuse 
RuntimeError but I'm lazy
    
                line = f.readline()
                if line:
                    reads = reads + line
                    for e in tofind:
                        m = e.search(line)
                        if m:
                            matchings.append((line, m))
                            tofind.remove(e)
                            if len(tofind) == 0:
                                return matchings[0] if isinstance(exprs, 
string_types) else matchings
                else:
                    # wait for the situation to clarify, either stop or just a 
pause in log production
>                   time.sleep(1)
E                   Failed: Timeout >900.0s
 
../dtest/lib/python3.8/site-packages/ccmlib/node.py:603: Failed
{code}
 
{code:java}
==
 short test summary info 
==
FAILED 
replace_address_test.py::TestReplaceAddress::test_replace_with_insufficient_replicas
 - Failed: Timeout >900.0s
ERROR 
replace_address_test.py::TestReplaceAddress::test_replace_with_insufficient_replicas
 - Failed: Unexpected error found in node logs (see stdout for full details). 
Errors: [[node1] 'ERROR [Messaging-EventLoop-3-6] 2024-02-16 10:08:25,888 
NoSpamLogger.java:110 - 
/127.0.0.1:7000->/127.0.0.3:7000-URGENT_MESSAGES-[no-channel] faile...
{code}
This is how it fails with v2:

 
{code:java}

[jira] [Updated] (CASSANDRA-19144) Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2

2024-02-16 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-19144:

Fix Version/s: 5.0-rc

> Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2
> -
>
> Key: CASSANDRA-19144
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19144
> Project: Cassandra
>  Issue Type: Bug
>  Components: Consistency/Bootstrap and Decommission, 
> Feature/Lightweight Transactions
>Reporter: Branimir Lambov
>Priority: Normal
> Fix For: 5.0-rc
>
>
> Paxos repair is causing an unexpected failure:
> {code}
> test_replace_with_insufficient_replicas
> replace_address_test.TestReplaceAddress
> failed on teardown with "Failed: Unexpected error found in node logs (see 
> stdout for full details). Errors: [[replacement] 'ERROR [main] 2023-11-29 
> 10:23:08,752 CassandraDaemon.java:878 - Exception encountered during 
> startup\njava.lang.UnsupportedOperationException: null\n\tat 
> org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat
>  
> org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat
>  
> org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat
>  
> org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat
>  
> org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat
>  
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']"
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[replacement] 'ERROR [main] 2023-11-29 10:23:08,752 CassandraDaemon.java:878 
> - Exception encountered during 
> startup\njava.lang.UnsupportedOperationException: null\n\tat 
> org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat
>  
> org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat
>  
> org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat
>  
> org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat
>  
> org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat
>  
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat
>  org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']
> {code}



--
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-19144) Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2

2024-02-16 Thread Ekaterina Dimitrova (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-19144:

 Bug Category: Parent values: Correctness(12982)
   Complexity: Normal
Discovered By: User Report
 Severity: Normal
   Status: Open  (was: Triage Needed)

> Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2
> -
>
> Key: CASSANDRA-19144
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19144
> Project: Cassandra
>  Issue Type: Bug
>  Components: Consistency/Bootstrap and Decommission, 
> Feature/Lightweight Transactions
>Reporter: Branimir Lambov
>Priority: Normal
>
> Paxos repair is causing an unexpected failure:
> {code}
> test_replace_with_insufficient_replicas
> replace_address_test.TestReplaceAddress
> failed on teardown with "Failed: Unexpected error found in node logs (see 
> stdout for full details). Errors: [[replacement] 'ERROR [main] 2023-11-29 
> 10:23:08,752 CassandraDaemon.java:878 - Exception encountered during 
> startup\njava.lang.UnsupportedOperationException: null\n\tat 
> org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat
>  
> org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat
>  
> org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat
>  
> org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat
>  
> org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat
>  
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']"
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[replacement] 'ERROR [main] 2023-11-29 10:23:08,752 CassandraDaemon.java:878 
> - Exception encountered during 
> startup\njava.lang.UnsupportedOperationException: null\n\tat 
> org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat
>  
> org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat
>  
> org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat
>  
> org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat
>  
> org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat
>  
> org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat
>  
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat
>  
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat
>  
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat
>  org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']
> {code}



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817978#comment-17817978
 ] 

Stefan Miklosovic commented on CASSANDRA-19201:
---

There is do_copy method in cqlshmain.py which expects CONFIG_FILE constant but 
you have refactored it away.

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19201:
--
Status: Changes Suggested  (was: Review In Progress)

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817963#comment-17817963
 ] 

Stefan Miklosovic edited comment on CASSANDRA-19201 at 2/16/24 2:01 PM:


Well ... something went horribly wrong here 
[https://app.circleci.com/pipelines/github/instaclustr/cassandra/3880/workflows/e293c020-1d32-4a98-aacf-a2b56d4c2810/jobs/192395/parallel-runs/5?filterBy=FAILED]

 

[https://app.circleci.com/pipelines/github/instaclustr/cassandra/3880/workflows/e293c020-1d32-4a98-aacf-a2b56d4c2810/jobs/192395/tests]

 

Try to fix this
{noformat}
pytest 
--cassandra-dir=/home/fermat/dev/cassandra/cassandra-instaclustr/cassandra 
cqlsh_tests/test_cqlsh_copy.py::TestCqlshCopy::test_copy_options_from_config_file
 {noformat}
 

Then I think it will fix a lot of things automatically.


was (Author: smiklosovic):
Well ... something went horribly wrong here 
[https://app.circleci.com/pipelines/github/instaclustr/cassandra/3880/workflows/e293c020-1d32-4a98-aacf-a2b56d4c2810/jobs/192395/parallel-runs/5?filterBy=FAILED]

 

https://app.circleci.com/pipelines/github/instaclustr/cassandra/3880/workflows/e293c020-1d32-4a98-aacf-a2b56d4c2810/jobs/192395/tests

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817963#comment-17817963
 ] 

Stefan Miklosovic edited comment on CASSANDRA-19201 at 2/16/24 1:42 PM:


Well ... something went horribly wrong here 
[https://app.circleci.com/pipelines/github/instaclustr/cassandra/3880/workflows/e293c020-1d32-4a98-aacf-a2b56d4c2810/jobs/192395/parallel-runs/5?filterBy=FAILED]

 

https://app.circleci.com/pipelines/github/instaclustr/cassandra/3880/workflows/e293c020-1d32-4a98-aacf-a2b56d4c2810/jobs/192395/tests


was (Author: smiklosovic):
Well ... something went horribly wrong here 
https://app.circleci.com/pipelines/github/instaclustr/cassandra/3880/workflows/e293c020-1d32-4a98-aacf-a2b56d4c2810/jobs/192395/parallel-runs/5?filterBy=FAILED

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817963#comment-17817963
 ] 

Stefan Miklosovic commented on CASSANDRA-19201:
---

Well ... something went horribly wrong here 
https://app.circleci.com/pipelines/github/instaclustr/cassandra/3880/workflows/e293c020-1d32-4a98-aacf-a2b56d4c2810/jobs/192395/parallel-runs/5?filterBy=FAILED

> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19393) nodetool: group CMS-related commands into one command

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817961#comment-17817961
 ] 

Stefan Miklosovic edited comment on CASSANDRA-19393 at 2/16/24 1:35 PM:


I propose these minor fixes (1) otherwise all good. Can be done on commit. 

I need another committer. cc [~marcuse] [~brandon.williams]

(1) 
https://github.com/smiklosovic/cassandra/commit/401be662d000598125bc44fc5c24e0d2095407ee


was (Author: smiklosovic):
I propose these minor fixes (1) otherwise all good. Can be done on commit. 

I need another committer.

(1) 
https://github.com/smiklosovic/cassandra/commit/401be662d000598125bc44fc5c24e0d2095407ee

> nodetool: group CMS-related commands into one command
> -
>
> Key: CASSANDRA-19393
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19393
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tool/nodetool, Transactional Cluster Metadata
>Reporter: n.v.harikrishna
>Assignee: n.v.harikrishna
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The purpose of this ticket is to group all CMS-related commands under one 
> "nodetool cms" command where existing command would be subcommands of it.



--
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-19393) nodetool: group CMS-related commands into one command

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19393:
--
Status: Needs Committer  (was: Review In Progress)

> nodetool: group CMS-related commands into one command
> -
>
> Key: CASSANDRA-19393
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19393
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tool/nodetool, Transactional Cluster Metadata
>Reporter: n.v.harikrishna
>Assignee: n.v.harikrishna
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The purpose of this ticket is to group all CMS-related commands under one 
> "nodetool cms" command where existing command would be subcommands of it.



--
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-19393) nodetool: group CMS-related commands into one command

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817961#comment-17817961
 ] 

Stefan Miklosovic commented on CASSANDRA-19393:
---

I propose these minor fixes (1) otherwise all good. Can be done on commit. 

I need another committer.

(1) 
https://github.com/smiklosovic/cassandra/commit/401be662d000598125bc44fc5c24e0d2095407ee

> nodetool: group CMS-related commands into one command
> -
>
> Key: CASSANDRA-19393
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19393
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tool/nodetool, Transactional Cluster Metadata
>Reporter: n.v.harikrishna
>Assignee: n.v.harikrishna
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The purpose of this ticket is to group all CMS-related commands under one 
> "nodetool cms" command where existing command would be subcommands of it.



--
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-19394) Rethink dumping of cluster metadata via CMSOperationsMBean

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19394:
--
Resolution: Won't Fix
Status: Resolved  (was: Triage Needed)

> Rethink dumping of cluster metadata via CMSOperationsMBean
> --
>
> Key: CASSANDRA-19394
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19394
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tool/nodetool, Transactional Cluster Metadata
>Reporter: Stefan Miklosovic
>Priority: Normal
>
> I think there are two problems in the implementation of dumping 
> ClusterMetadata in CMSOperationsMBean
> 1) A dump is saved in a file and dumpClusterMetadata methods will return just 
> a file name where that dump is. However, nodetool / JMX call to MBean (or any 
> place this method is invoked from, we would like to offer a command in 
> nodetool which returns the dump) is meant to be used from anywhere, remotely, 
> so what happens when we execute nodetool or call these methods on a machine 
> different from a machine a node runs on? E.g. admins can just have some 
> jumpbox to a cluster they manage, they do not necessarily have access to 
> nodes themselves. So they would not be able to read it.
> 2) It creates temp file which is not deleted so /tmp will be populated with 
> these dumps until node is turned off which might take a lot of time and can 
> consume a lot of disk space if dumps are done frequently and they are big. An 
> adversary might just dump cluster metadata until no disk space is left.
> What I propose is that we would return all dump string, not just a filename 
> where we save it. We can also format the output on the client or we can tell 
> server what format we want the dump to be returned in. 
> If there is a concern about size of data to be returned, we might optionally 
> allow dumps to be returned as compressed by simple zipping on server and 
> unzipping on client where "zipper" is a standard java.util.zip so it 
> basically doesn't matter what jvm runs on client and server.



--
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-19393) nodetool: group CMS-related commands into one command

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19393:
--
Status: Review In Progress  (was: Patch Available)

> nodetool: group CMS-related commands into one command
> -
>
> Key: CASSANDRA-19393
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19393
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Tool/nodetool, Transactional Cluster Metadata
>Reporter: n.v.harikrishna
>Assignee: n.v.harikrishna
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The purpose of this ticket is to group all CMS-related commands under one 
> "nodetool cms" command where existing command would be subcommands of it.



--
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-15719) DOC - Primary range repair should be run on every datacenter

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-15719:
--
  Since Version: NA
Source Control Link: 
https://github.com/apache/cassandra/commit/2aa2b59d37899fbe114bdd75e09c10699729c32a
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

I merged this to 5.0 and trunk only as part of 

https://github.com/apache/cassandra/commit/2aa2b59d37899fbe114bdd75e09c10699729c32a

> DOC - Primary range repair should be run on every datacenter
> 
>
> Key: CASSANDRA-15719
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15719
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Blog
>Reporter: Jane Deng
>Assignee: Annette Dennis
>Priority: Normal
> Fix For: NA
>
>
> In the Cassandra document page: 
> [http://cassandra.apache.org/doc/latest/operating/repair.html], there is an 
> explanation which makes confusion on users' side:
> {quote}The {{-pr}} flag will only repair the “primary” ranges on a node, so 
> you can repair your entire cluster by running {{nodetool repair -pr}} on each 
> node in a single datacenter.
> {quote}
> This made confusion that "running nodetool repair -pr on each node in a 
> single DC" was sufficient to do a full repair on a multi-DC cluster.
> The correct way to use the primary range repair should be
> {quote}if you are using “nodetool repair -pr” you must run it on *EVERY* node 
> in *EVERY* data center, no skipping allowed.
> {quote}
> Please make a doc fix. Thanks.



--
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-15719) DOC - Primary range repair should be run on every datacenter

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-15719:
--
Reviewers: Stefan Miklosovic, Stefan Miklosovic
   Stefan Miklosovic, Stefan Miklosovic  (was: Stefan Miklosovic)
   Status: Review In Progress  (was: Patch Available)

> DOC - Primary range repair should be run on every datacenter
> 
>
> Key: CASSANDRA-15719
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15719
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Blog
>Reporter: Jane Deng
>Assignee: Annette Dennis
>Priority: Normal
> Fix For: NA
>
>
> In the Cassandra document page: 
> [http://cassandra.apache.org/doc/latest/operating/repair.html], there is an 
> explanation which makes confusion on users' side:
> {quote}The {{-pr}} flag will only repair the “primary” ranges on a node, so 
> you can repair your entire cluster by running {{nodetool repair -pr}} on each 
> node in a single datacenter.
> {quote}
> This made confusion that "running nodetool repair -pr on each node in a 
> single DC" was sufficient to do a full repair on a multi-DC cluster.
> The correct way to use the primary range repair should be
> {quote}if you are using “nodetool repair -pr” you must run it on *EVERY* node 
> in *EVERY* data center, no skipping allowed.
> {quote}
> Please make a doc fix. Thanks.



--
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-15719) DOC - Primary range repair should be run on every datacenter

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-15719:
--
Fix Version/s: NA
   (was: 3.0.x)
   (was: 3.11.x)
   (was: 5.x)
   (was: 4.0.x)
   (was: 4.1.x)

> DOC - Primary range repair should be run on every datacenter
> 
>
> Key: CASSANDRA-15719
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15719
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Blog
>Reporter: Jane Deng
>Assignee: Annette Dennis
>Priority: Normal
> Fix For: NA
>
>
> In the Cassandra document page: 
> [http://cassandra.apache.org/doc/latest/operating/repair.html], there is an 
> explanation which makes confusion on users' side:
> {quote}The {{-pr}} flag will only repair the “primary” ranges on a node, so 
> you can repair your entire cluster by running {{nodetool repair -pr}} on each 
> node in a single datacenter.
> {quote}
> This made confusion that "running nodetool repair -pr on each node in a 
> single DC" was sufficient to do a full repair on a multi-DC cluster.
> The correct way to use the primary range repair should be
> {quote}if you are using “nodetool repair -pr” you must run it on *EVERY* node 
> in *EVERY* data center, no skipping allowed.
> {quote}
> Please make a doc fix. Thanks.



--
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-15719) DOC - Primary range repair should be run on every datacenter

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-15719:
--
Status: Ready to Commit  (was: Review In Progress)

> DOC - Primary range repair should be run on every datacenter
> 
>
> Key: CASSANDRA-15719
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15719
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Blog
>Reporter: Jane Deng
>Assignee: Annette Dennis
>Priority: Normal
> Fix For: NA
>
>
> In the Cassandra document page: 
> [http://cassandra.apache.org/doc/latest/operating/repair.html], there is an 
> explanation which makes confusion on users' side:
> {quote}The {{-pr}} flag will only repair the “primary” ranges on a node, so 
> you can repair your entire cluster by running {{nodetool repair -pr}} on each 
> node in a single datacenter.
> {quote}
> This made confusion that "running nodetool repair -pr on each node in a 
> single DC" was sufficient to do a full repair on a multi-DC cluster.
> The correct way to use the primary range repair should be
> {quote}if you are using “nodetool repair -pr” you must run it on *EVERY* node 
> in *EVERY* data center, no skipping allowed.
> {quote}
> Please make a doc fix. Thanks.



--
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-15719) DOC - Primary range repair should be run on every datacenter

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-15719:
--
Test and Documentation Plan: review
 Status: Patch Available  (was: Open)

> DOC - Primary range repair should be run on every datacenter
> 
>
> Key: CASSANDRA-15719
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15719
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation/Blog
>Reporter: Jane Deng
>Assignee: Annette Dennis
>Priority: Normal
> Fix For: NA
>
>
> In the Cassandra document page: 
> [http://cassandra.apache.org/doc/latest/operating/repair.html], there is an 
> explanation which makes confusion on users' side:
> {quote}The {{-pr}} flag will only repair the “primary” ranges on a node, so 
> you can repair your entire cluster by running {{nodetool repair -pr}} on each 
> node in a single datacenter.
> {quote}
> This made confusion that "running nodetool repair -pr on each node in a 
> single DC" was sufficient to do a full repair on a multi-DC cluster.
> The correct way to use the primary range repair should be
> {quote}if you are using “nodetool repair -pr” you must run it on *EVERY* node 
> in *EVERY* data center, no skipping allowed.
> {quote}
> Please make a doc fix. Thanks.



--
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-18990) Fix SAI docs issues

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-18990:
--
  Fix Version/s: NA
Source Control Link: 
https://github.com/apache/cassandra/commit/2aa2b59d37899fbe114bdd75e09c10699729c32a
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> Fix SAI docs issues
> ---
>
> Key: CASSANDRA-18990
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18990
> Project: Cassandra
>  Issue Type: Task
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
> Fix For: NA
>
>
> # Change CREATE CUSTOM INDEX syntax to CREATE INDEX in SAI quickstart.
>  # Consolidate SAI code examples.



--
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-18990) Fix SAI docs issues

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-18990:
--
Reviewers: Stefan Miklosovic
   Status: Review In Progress  (was: Patch Available)

> Fix SAI docs issues
> ---
>
> Key: CASSANDRA-18990
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18990
> Project: Cassandra
>  Issue Type: Task
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
>
> # Change CREATE CUSTOM INDEX syntax to CREATE INDEX in SAI quickstart.
>  # Consolidate SAI code examples.



--
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-18990) Fix SAI docs issues

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-18990:
--
Status: Ready to Commit  (was: Review In Progress)

> Fix SAI docs issues
> ---
>
> Key: CASSANDRA-18990
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18990
> Project: Cassandra
>  Issue Type: Task
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
>
> # Change CREATE CUSTOM INDEX syntax to CREATE INDEX in SAI quickstart.
>  # Consolidate SAI code examples.



--
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-18990) Fix SAI docs issues

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-18990:
--
Change Category: Code Clarity
 Complexity: Low Hanging Fruit
Component/s: Documentation
 Status: Open  (was: Triage Needed)

> Fix SAI docs issues
> ---
>
> Key: CASSANDRA-18990
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18990
> Project: Cassandra
>  Issue Type: Task
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
>
> # Change CREATE CUSTOM INDEX syntax to CREATE INDEX in SAI quickstart.
>  # Consolidate SAI code examples.



--
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-18990) Fix SAI docs issues

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-18990:
--
Test and Documentation Plan: review
 Status: Patch Available  (was: Open)

> Fix SAI docs issues
> ---
>
> Key: CASSANDRA-18990
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18990
> Project: Cassandra
>  Issue Type: Task
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
>
> # Change CREATE CUSTOM INDEX syntax to CREATE INDEX in SAI quickstart.
>  # Consolidate SAI code examples.



--
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-19249) Fix some errors in Vector Search docs

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19249:
--
  Fix Version/s: NA
 (was: 5.x)
 (was: 5.0.x)
  Since Version: NA
Source Control Link: 
https://github.com/apache/cassandra/commit/2aa2b59d37899fbe114bdd75e09c10699729c32a
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> Fix some errors in Vector Search docs
> -
>
> Key: CASSANDRA-19249
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19249
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
> Fix For: NA
>
>
> Fix vector type description: Vector types in 5.0  support all data types. But 
> vector indexing only support floats.  Subtle diff.  Astra only supports 
> float. 
> Add some additional embeddings info.



--
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-19249) Fix some errors in Vector Search docs

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19249:
--
Status: Ready to Commit  (was: Review In Progress)

> Fix some errors in Vector Search docs
> -
>
> Key: CASSANDRA-19249
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19249
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
> Fix For: 5.0.x, 5.x
>
>
> Fix vector type description: Vector types in 5.0  support all data types. But 
> vector indexing only support floats.  Subtle diff.  Astra only supports 
> float. 
> Add some additional embeddings info.



--
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-19249) Fix some errors in Vector Search docs

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19249:
--
Reviewers: Stefan Miklosovic, Stefan Miklosovic
   Stefan Miklosovic, Stefan Miklosovic  (was: Stefan Miklosovic)
   Status: Review In Progress  (was: Patch Available)

> Fix some errors in Vector Search docs
> -
>
> Key: CASSANDRA-19249
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19249
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
> Fix For: 5.0.x, 5.x
>
>
> Fix vector type description: Vector types in 5.0  support all data types. But 
> vector indexing only support floats.  Subtle diff.  Astra only supports 
> float. 
> Add some additional embeddings info.



--
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-19249) Fix some errors in Vector Search docs

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19249:
--
Test and Documentation Plan: review
 Status: Patch Available  (was: In Progress)

> Fix some errors in Vector Search docs
> -
>
> Key: CASSANDRA-19249
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19249
> Project: Cassandra
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
> Fix For: 5.0.x, 5.x
>
>
> Fix vector type description: Vector types in 5.0  support all data types. But 
> vector indexing only support floats.  Subtle diff.  Astra only supports 
> float. 
> Add some additional embeddings info.



--
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 (0f2da96c6c -> 2aa2b59d37)

2024-02-16 Thread smiklosovic
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 0f2da96c6c Dynamic Data Masking cleanup language, rearrange code 
examples.
 add 2aa2b59d37 Minor adds and fixes in the documentation

No new revisions were added by this update.

Summary of changes:
 NEWS.txt   |   2 +-
 doc/cql3/CQL.textile   |   4 +-
 .../CQL/sai/create-vector-index-cycling.cql|   4 +-
 .../examples/CQL/sai/create-vector-index.cql   |   4 +-
 .../CQL/sai/cyclist_semi_pro_sai_indices.cql   |  16 +--
 .../examples/CQL/sai/index-sai-case-sensitive.cql  |   4 +-
 ...dex-sai-composite-partition-key-index-match.cql |   8 +-
 .../examples/CQL/sai/index-sai-from-list-match.cql |   4 +-
 .../examples/CQL/sai/index-sai-from-set-match.cql  |   4 +-
 .../index-sai-multiple-index-match-with-and.cql|  12 +--
 .../CQL/sai/index-sai-similarity-function.cql  |   4 +-
 .../CQL/sai/index-sai-single-index-match.cql   |   4 +-
 .../examples/CQL/sai/index-sai-udt-match.cql   |   4 +-
 .../cassandra/examples/CQL/sai/sai-error.cql   |   4 +-
 .../RESULTS/sai/cyclist_semi_pro_describe.result   |   8 +-
 .../pages/developing/cql/cql_singlefile.adoc   |   4 +-
 .../pages/developing/cql/create-custom-index.adoc  |  14 +--
 .../developing/cql/indexing/sai/_sai-create.adoc   |   2 +-
 .../pages/developing/cql/indexing/sai/sai-faq.adoc |  18 ++--
 .../cassandra/pages/managing/operating/repair.adoc |  11 +-
 .../cql-commands/create-custom-index.adoc  |  18 ++--
 .../pages/reference/cql-commands/create-index.adoc | 118 +
 .../pages/reference/vector-data-type.adoc  |   2 +
 .../cassandra/pages/vector-search/concepts.adoc|   1 +
 .../pages/vector-search/data-modeling.adoc |  35 +-
 .../cassandra/partials/table-properties.adoc   |   2 +-
 pylib/cqlshlib/cqlshmain.py|   2 +-
 27 files changed, 213 insertions(+), 100 deletions(-)


-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



(cassandra) branch trunk updated (3483fc0683 -> 3c76ae2a45)

2024-02-16 Thread smiklosovic
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 3483fc0683 Merge branch 'cassandra-5.0' into trunk
 add 2aa2b59d37 Minor adds and fixes in the documentation
 new 3c76ae2a45 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:
 NEWS.txt   |   2 +-
 doc/cql3/CQL.textile   |   4 +-
 .../CQL/sai/create-vector-index-cycling.cql|   4 +-
 .../examples/CQL/sai/create-vector-index.cql   |   4 +-
 .../CQL/sai/cyclist_semi_pro_sai_indices.cql   |  16 +--
 .../examples/CQL/sai/index-sai-case-sensitive.cql  |   4 +-
 ...dex-sai-composite-partition-key-index-match.cql |   8 +-
 .../examples/CQL/sai/index-sai-from-list-match.cql |   4 +-
 .../examples/CQL/sai/index-sai-from-set-match.cql  |   4 +-
 .../index-sai-multiple-index-match-with-and.cql|  12 +--
 .../CQL/sai/index-sai-similarity-function.cql  |   4 +-
 .../CQL/sai/index-sai-single-index-match.cql   |   4 +-
 .../examples/CQL/sai/index-sai-udt-match.cql   |   4 +-
 .../cassandra/examples/CQL/sai/sai-error.cql   |   4 +-
 .../RESULTS/sai/cyclist_semi_pro_describe.result   |   8 +-
 .../pages/developing/cql/cql_singlefile.adoc   |   4 +-
 .../pages/developing/cql/create-custom-index.adoc  |  14 +--
 .../developing/cql/indexing/sai/_sai-create.adoc   |   2 +-
 .../pages/developing/cql/indexing/sai/sai-faq.adoc |  18 ++--
 .../cassandra/pages/managing/operating/repair.adoc |  11 +-
 .../cql-commands/create-custom-index.adoc  |  18 ++--
 .../pages/reference/cql-commands/create-index.adoc | 118 +
 .../pages/reference/vector-data-type.adoc  |   2 +
 .../cassandra/pages/vector-search/concepts.adoc|   1 +
 .../pages/vector-search/data-modeling.adoc |  35 +-
 .../cassandra/partials/table-properties.adoc   |   2 +-
 pylib/cqlshlib/cqlshmain.py|   2 +-
 27 files changed, 213 insertions(+), 100 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

2024-02-16 Thread smiklosovic
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 3c76ae2a45138222b0a797c63def82d3bfa4dc6a
Merge: 3483fc0683 2aa2b59d37
Author: Stefan Miklosovic 
AuthorDate: Fri Feb 16 13:36:15 2024 +0100

Merge branch 'cassandra-5.0' into trunk

 NEWS.txt   |   2 +-
 doc/cql3/CQL.textile   |   4 +-
 .../CQL/sai/create-vector-index-cycling.cql|   4 +-
 .../examples/CQL/sai/create-vector-index.cql   |   4 +-
 .../CQL/sai/cyclist_semi_pro_sai_indices.cql   |  16 +--
 .../examples/CQL/sai/index-sai-case-sensitive.cql  |   4 +-
 ...dex-sai-composite-partition-key-index-match.cql |   8 +-
 .../examples/CQL/sai/index-sai-from-list-match.cql |   4 +-
 .../examples/CQL/sai/index-sai-from-set-match.cql  |   4 +-
 .../index-sai-multiple-index-match-with-and.cql|  12 +--
 .../CQL/sai/index-sai-similarity-function.cql  |   4 +-
 .../CQL/sai/index-sai-single-index-match.cql   |   4 +-
 .../examples/CQL/sai/index-sai-udt-match.cql   |   4 +-
 .../cassandra/examples/CQL/sai/sai-error.cql   |   4 +-
 .../RESULTS/sai/cyclist_semi_pro_describe.result   |   8 +-
 .../pages/developing/cql/cql_singlefile.adoc   |   4 +-
 .../pages/developing/cql/create-custom-index.adoc  |  14 +--
 .../developing/cql/indexing/sai/_sai-create.adoc   |   2 +-
 .../pages/developing/cql/indexing/sai/sai-faq.adoc |  18 ++--
 .../cassandra/pages/managing/operating/repair.adoc |  11 +-
 .../cql-commands/create-custom-index.adoc  |  18 ++--
 .../pages/reference/cql-commands/create-index.adoc | 118 +
 .../pages/reference/vector-data-type.adoc  |   2 +
 .../cassandra/pages/vector-search/concepts.adoc|   1 +
 .../pages/vector-search/data-modeling.adoc |  35 +-
 .../cassandra/partials/table-properties.adoc   |   2 +-
 pylib/cqlshlib/cqlshmain.py|   2 +-
 27 files changed, 213 insertions(+), 100 deletions(-)



-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



Re: [PR] Include support for comma seperated strings for basic.contact-points [cassandra-java-driver]

2024-02-16 Thread via GitHub


utkuaydn commented on PR #1897:
URL: 
https://github.com/apache/cassandra-java-driver/pull/1897#issuecomment-1948303863

   This has been sitting here for a while can anyone take a look? @absurdfarce 


-- 
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] [Commented] (CASSANDRA-19397) Remove all code around native_transport_port_ssl

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817927#comment-17817927
 ] 

Stefan Miklosovic commented on CASSANDRA-19397:
---

dtest patch https://github.com/apache/cassandra-dtest/pull/252

> Remove all code around native_transport_port_ssl
> 
>
> Key: CASSANDRA-19397
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19397
> Project: Cassandra
>  Issue Type: Task
>  Components: Legacy/Core
>Reporter: Stefan Miklosovic
>Assignee: Stefan Miklosovic
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> We deprecated native_transport_port_ssl in CASSANDRA-19392 and we told we go 
> to remove it next. This ticket is about that removal. 



--
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-19397) Remove all code around native_transport_port_ssl

2024-02-16 Thread Brandon Williams (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-19397:
-
Reviewers: Brandon Williams
   Status: Review In Progress  (was: Needs Committer)

> Remove all code around native_transport_port_ssl
> 
>
> Key: CASSANDRA-19397
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19397
> Project: Cassandra
>  Issue Type: Task
>  Components: Legacy/Core
>Reporter: Stefan Miklosovic
>Assignee: Stefan Miklosovic
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> We deprecated native_transport_port_ssl in CASSANDRA-19392 and we told we go 
> to remove it next. This ticket is about that removal. 



--
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-18762) Repair triggers OOM with direct buffer memory

2024-02-16 Thread Manish Khandelwal (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-18762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817832#comment-17817832
 ] 

Manish Khandelwal edited comment on CASSANDRA-18762 at 2/16/24 10:34 AM:
-

Another update setting --XX:MaxDirectMemorySize=10G to higher value (more than 
heap which is 8G) resulted in running repairs successfully on multiple nodes. 
But failure is still happening on some nodes. Will evaluate  CASSANDRA-19336  
but description says while running repairs without -pr thats why ignored it 
first as we are using full repairs with -pr option.

{*}Update{*}: After pumping up --XX:MaxDirectMemorySize=12G, repairs were 
successful on all the nodes. 


was (Author: manmagic3):
Another update setting --XX:MaxDirectMemorySize=10G to higher value (more than 
heap which is 8G) resulted in running repairs successfully on multiple nodes. 
But failure is still happening on some nodes. Will evaluate  CASSANDRA-19336  
but description says while running repairs without -pr thats why ignored it 
first as we are using full repairs with -pr option.

> Repair triggers OOM with direct buffer memory
> -
>
> Key: CASSANDRA-18762
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18762
> Project: Cassandra
>  Issue Type: Bug
>  Components: Consistency/Repair
>Reporter: Brad Schoening
>Priority: Normal
>  Labels: OutOfMemoryError
> Attachments: Cluster-dm-metrics-1.PNG, 
> image-2023-12-06-15-28-05-459.png, image-2023-12-06-15-29-31-491.png, 
> image-2023-12-06-15-58-55-007.png
>
>
> We are seeing repeated failures of nodes with 16GB of heap on a VM with 32GB 
> of physical RAM due to direct memory.  This seems to be related to 
> CASSANDRA-15202 which moved Merkel trees off-heap in 4.0.   Using Cassandra 
> 4.0.6 with Java 11.
> {noformat}
> 2023-08-09 04:30:57,470 [INFO ] [AntiEntropyStage:1] cluster_id=101 
> ip_address=169.0.0.1 RepairSession.java:202 - [repair 
> #5e55a3b0-366d-11ee-a644-d91df26add5e] Received merkle tree for table_a from 
> /169.102.200.241:7000
> 2023-08-09 04:30:57,567 [INFO ] [AntiEntropyStage:1] cluster_id=101 
> ip_address=169.0.0.1 RepairSession.java:202 - [repair 
> #5e0d2900-366d-11ee-a644-d91df26add5e] Received merkle tree for table_b from 
> /169.93.192.29:7000
> 2023-08-09 04:30:57,568 [INFO ] [AntiEntropyStage:1] cluster_id=101 
> ip_address=169.0.0.1 RepairSession.java:202 - [repair 
> #5e1dcad0-366d-11ee-a644-d91df26add5e] Received merkle tree for table_c from 
> /169.104.171.134:7000
> 2023-08-09 04:30:57,591 [INFO ] [AntiEntropyStage:1] cluster_id=101 
> ip_address=169.0.0.1 RepairSession.java:202 - [repair 
> #5e69a0e0-366d-11ee-a644-d91df26add5e] Received merkle tree for table_b from 
> /169.79.232.67:7000
> 2023-08-09 04:30:57,876 [INFO ] [Service Thread] cluster_id=101 
> ip_address=169.0.0.1 GCInspector.java:294 - G1 Old Generation GC in 282ms. 
> Compressed Class Space: 8444560 -> 8372152; G1 Eden Space: 7809794048 -> 0; 
> G1 Old Gen: 1453478400 -> 820942800; G1 Survivor Space: 419430400 -> 0; 
> Metaspace: 80411136 -> 80176528
> 2023-08-09 04:30:58,387 [ERROR] [AntiEntropyStage:1] cluster_id=101 
> ip_address=169.0.0.1 JVMStabilityInspector.java:102 - OutOfMemory error 
> letting the JVM handle the error:
> java.lang.OutOfMemoryError: Direct buffer memory
> at java.base/java.nio.Bits.reserveMemory(Bits.java:175)
> at java.base/java.nio.DirectByteBuffer.(DirectByteBuffer.java:118)
> at java.base/java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:318)
> at org.apache.cassandra.utils.MerkleTree.allocate(MerkleTree.java:742)
> at 
> org.apache.cassandra.utils.MerkleTree.deserializeOffHeap(MerkleTree.java:780)
> at org.apache.cassandra.utils.MerkleTree.deserializeTree(MerkleTree.java:751)
> at org.apache.cassandra.utils.MerkleTree.deserialize(MerkleTree.java:720)
> at org.apache.cassandra.utils.MerkleTree.deserialize(MerkleTree.java:698)
> at 
> org.apache.cassandra.utils.MerkleTrees$MerkleTreesSerializer.deserialize(MerkleTrees.java:416)
> at 
> org.apache.cassandra.repair.messages.ValidationResponse$1.deserialize(ValidationResponse.java:100)
> at 
> org.apache.cassandra.repair.messages.ValidationResponse$1.deserialize(ValidationResponse.java:84)
> at 
> org.apache.cassandra.net.Message$Serializer.deserializePost40(Message.java:782)
> at org.apache.cassandra.net.Message$Serializer.deserialize(Message.java:642)
> at 
> org.apache.cassandra.net.InboundMessageHandler$LargeMessage.deserialize(InboundMessageHandler.java:364)
> at 
> org.apache.cassandra.net.InboundMessageHandler$LargeMessage.access$1100(InboundMessageHandler.java:317)
> at 
> org.apache.cassandra.net.InboundMessageHandler$ProcessLargeMessage.provideMessage(InboundMessageHandler.java:504)
> at 
> 

[jira] [Created] (CASSANDRA-19408) Define smoke tests set to run with both JVMs

2024-02-16 Thread Jacek Lewandowski (Jira)
Jacek Lewandowski created CASSANDRA-19408:
-

 Summary: Define smoke tests set to run with both JVMs
 Key: CASSANDRA-19408
 URL: https://issues.apache.org/jira/browse/CASSANDRA-19408
 Project: Cassandra
  Issue Type: Task
Reporter: Jacek Lewandowski






--
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] [Created] (CASSANDRA-19407) Drop one JVM tests run from pre-commit pipeline

2024-02-16 Thread Jacek Lewandowski (Jira)
Jacek Lewandowski created CASSANDRA-19407:
-

 Summary: Drop one JVM tests run from pre-commit pipeline
 Key: CASSANDRA-19407
 URL: https://issues.apache.org/jira/browse/CASSANDRA-19407
 Project: Cassandra
  Issue Type: Task
Reporter: Jacek Lewandowski






--
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] [Created] (CASSANDRA-19406) Optimize pre-commit test suite

2024-02-16 Thread Jacek Lewandowski (Jira)
Jacek Lewandowski created CASSANDRA-19406:
-

 Summary: Optimize pre-commit test suite
 Key: CASSANDRA-19406
 URL: https://issues.apache.org/jira/browse/CASSANDRA-19406
 Project: Cassandra
  Issue Type: Epic
Reporter: Jacek Lewandowski






--
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 trunk updated (48607b8395 -> 3483fc0683)

2024-02-16 Thread smiklosovic
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 48607b8395 Merge branch 'cassandra-5.0' into trunk
 add 0f2da96c6c Dynamic Data Masking cleanup language, rearrange code 
examples.
 new 3483fc0683 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:
 .../cassandra/examples/CQL/ddm_alter_mask.cql  |   1 -
 .../cassandra/examples/CQL/ddm_create_table.cql|   5 -
 .../examples/CQL/ddm_create_table_with_udf.cql |  11 --
 .../cassandra/examples/CQL/ddm_create_users.cql|   6 -
 .../cassandra/examples/CQL/ddm_drop_mask.cql   |   1 -
 .../cassandra/examples/CQL/ddm_insert_data.cql |   2 -
 .../cassandra/examples/CQL/ddm_revoke_unmask.cql   |   1 -
 .../CQL/ddm_select_with_masked_columns.cql |   6 -
 .../examples/CQL/ddm_select_with_select_masked.cql |   8 -
 .../CQL/ddm_select_with_unmask_permission.cql  |   7 -
 .../CQL/ddm_select_without_select_masked.cql   |   6 -
 .../CQL/ddm_select_without_unmask_permission.cql   |   7 -
 .../examples/CQL/dynamic-data-masking.cql  |  99 
 ...unctions.cql => select-with-mask-functions.cql} |   0
 doc/modules/cassandra/nav.adoc |   1 +
 .../pages/developing/cql/dynamic-data-masking.adoc | 179 +
 .../pages/developing/cql/dynamic_data_masking.adoc | 179 -
 .../cassandra/pages/developing/cql/index.adoc  |   2 +-
 .../developing/cql/indexing/sai/sai-query.adoc |   2 +-
 doc/modules/cassandra/pages/new/index.adoc |   6 +-
 .../cassandra/partials/masking_functions.adoc  |  30 +++-
 21 files changed, 306 insertions(+), 253 deletions(-)
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_alter_mask.cql
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_create_table.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_create_table_with_udf.cql
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_create_users.cql
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_drop_mask.cql
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_insert_data.cql
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_revoke_unmask.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_select_with_masked_columns.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_select_with_select_masked.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_select_with_unmask_permission.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_select_without_select_masked.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_select_without_unmask_permission.cql
 create mode 100644 doc/modules/cassandra/examples/CQL/dynamic-data-masking.cql
 rename doc/modules/cassandra/examples/CQL/{select_with_mask_functions.cql => 
select-with-mask-functions.cql} (100%)
 create mode 100644 
doc/modules/cassandra/pages/developing/cql/dynamic-data-masking.adoc
 delete mode 100644 
doc/modules/cassandra/pages/developing/cql/dynamic_data_masking.adoc


-
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 (a04dc83cfc -> 0f2da96c6c)

2024-02-16 Thread smiklosovic
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 a04dc83cfc Merge branch 'cassandra-4.1' into cassandra-5.0
 add 0f2da96c6c Dynamic Data Masking cleanup language, rearrange code 
examples.

No new revisions were added by this update.

Summary of changes:
 .../cassandra/examples/CQL/ddm_alter_mask.cql  |   1 -
 .../cassandra/examples/CQL/ddm_create_table.cql|   5 -
 .../examples/CQL/ddm_create_table_with_udf.cql |  11 --
 .../cassandra/examples/CQL/ddm_create_users.cql|   6 -
 .../cassandra/examples/CQL/ddm_drop_mask.cql   |   1 -
 .../cassandra/examples/CQL/ddm_insert_data.cql |   2 -
 .../cassandra/examples/CQL/ddm_revoke_unmask.cql   |   1 -
 .../CQL/ddm_select_with_masked_columns.cql |   6 -
 .../examples/CQL/ddm_select_with_select_masked.cql |   8 -
 .../CQL/ddm_select_with_unmask_permission.cql  |   7 -
 .../CQL/ddm_select_without_select_masked.cql   |   6 -
 .../CQL/ddm_select_without_unmask_permission.cql   |   7 -
 .../examples/CQL/dynamic-data-masking.cql  |  99 
 ...unctions.cql => select-with-mask-functions.cql} |   0
 doc/modules/cassandra/nav.adoc |   1 +
 .../pages/developing/cql/dynamic-data-masking.adoc | 179 +
 .../pages/developing/cql/dynamic_data_masking.adoc | 179 -
 .../cassandra/pages/developing/cql/index.adoc  |   2 +-
 .../developing/cql/indexing/sai/sai-query.adoc |   2 +-
 doc/modules/cassandra/pages/new/index.adoc |   6 +-
 .../cassandra/partials/masking_functions.adoc  |  30 +++-
 21 files changed, 306 insertions(+), 253 deletions(-)
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_alter_mask.cql
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_create_table.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_create_table_with_udf.cql
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_create_users.cql
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_drop_mask.cql
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_insert_data.cql
 delete mode 100644 doc/modules/cassandra/examples/CQL/ddm_revoke_unmask.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_select_with_masked_columns.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_select_with_select_masked.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_select_with_unmask_permission.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_select_without_select_masked.cql
 delete mode 100644 
doc/modules/cassandra/examples/CQL/ddm_select_without_unmask_permission.cql
 create mode 100644 doc/modules/cassandra/examples/CQL/dynamic-data-masking.cql
 rename doc/modules/cassandra/examples/CQL/{select_with_mask_functions.cql => 
select-with-mask-functions.cql} (100%)
 create mode 100644 
doc/modules/cassandra/pages/developing/cql/dynamic-data-masking.adoc
 delete mode 100644 
doc/modules/cassandra/pages/developing/cql/dynamic_data_masking.adoc


-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-18230) Write docs for CEP-20

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-18230:
--
  Fix Version/s: NA
 (was: 5.x)
Source Control Link: 
https://github.com/apache/cassandra/commit/0f2da96c6c617bb08c15303eb8b3cea3a55daf37
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> Write docs for CEP-20
> -
>
> Key: CASSANDRA-18230
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18230
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
> Fix For: NA
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>




--
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-18230) Write docs for CEP-20

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-18230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-18230:
--
Status: Ready to Commit  (was: Review In Progress)

> Write docs for CEP-20
> -
>
> Key: CASSANDRA-18230
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18230
> Project: Cassandra
>  Issue Type: New Feature
>  Components: Documentation
>Reporter: Lorina Poland
>Assignee: Lorina Poland
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>




--
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

2024-02-16 Thread smiklosovic
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 3483fc06833f86c7250f998dbd5ccbf464ef1c48
Merge: 48607b8395 0f2da96c6c
Author: Stefan Miklosovic 
AuthorDate: Fri Feb 16 10:08:08 2024 +0100

Merge branch 'cassandra-5.0' into trunk

 .../cassandra/examples/CQL/ddm_alter_mask.cql  |   1 -
 .../cassandra/examples/CQL/ddm_create_table.cql|   5 -
 .../examples/CQL/ddm_create_table_with_udf.cql |  11 --
 .../cassandra/examples/CQL/ddm_create_users.cql|   6 -
 .../cassandra/examples/CQL/ddm_drop_mask.cql   |   1 -
 .../cassandra/examples/CQL/ddm_insert_data.cql |   2 -
 .../cassandra/examples/CQL/ddm_revoke_unmask.cql   |   1 -
 .../CQL/ddm_select_with_masked_columns.cql |   6 -
 .../examples/CQL/ddm_select_with_select_masked.cql |   8 -
 .../CQL/ddm_select_with_unmask_permission.cql  |   7 -
 .../CQL/ddm_select_without_select_masked.cql   |   6 -
 .../CQL/ddm_select_without_unmask_permission.cql   |   7 -
 .../examples/CQL/dynamic-data-masking.cql  |  99 
 ...unctions.cql => select-with-mask-functions.cql} |   0
 doc/modules/cassandra/nav.adoc |   1 +
 .../pages/developing/cql/dynamic-data-masking.adoc | 179 +
 .../pages/developing/cql/dynamic_data_masking.adoc | 179 -
 .../cassandra/pages/developing/cql/index.adoc  |   2 +-
 .../developing/cql/indexing/sai/sai-query.adoc |   2 +-
 doc/modules/cassandra/pages/new/index.adoc |   6 +-
 .../cassandra/partials/masking_functions.adoc  |  30 +++-
 21 files changed, 306 insertions(+), 253 deletions(-)



-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-19201) Refactor cqlshmain global constants

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817875#comment-17817875
 ] 

Stefan Miklosovic commented on CASSANDRA-19201:
---

Thanks, I am building it, I will let you know.


> Refactor cqlshmain global constants
> ---
>
> Key: CASSANDRA-19201
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19201
> Project: Cassandra
>  Issue Type: Task
>  Components: CQL/Interpreter
>Reporter: Brad Schoening
>Assignee: Brad Schoening
>Priority: Low
> Fix For: 5.x
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Refactor global constants
>  * move globals CASSANDRA_CQL_HTML and cqlruleset
>  * move module level defaults (DEFAULT_) into Shell class
>  * move setup_cqlruleset into cqlshhandling
> Remove unused exceptions 
>  * FunctionNotFound(Exception)
>  * AggregateNotFound(Exception)



--
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-19397) Remove all code around native_transport_port_ssl

2024-02-16 Thread Stefan Miklosovic (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Miklosovic updated CASSANDRA-19397:
--
Status: Needs Committer  (was: Patch Available)

> Remove all code around native_transport_port_ssl
> 
>
> Key: CASSANDRA-19397
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19397
> Project: Cassandra
>  Issue Type: Task
>  Components: Legacy/Core
>Reporter: Stefan Miklosovic
>Assignee: Stefan Miklosovic
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> We deprecated native_transport_port_ssl in CASSANDRA-19392 and we told we go 
> to remove it next. This ticket is about that removal. 



--
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-19397) Remove all code around native_transport_port_ssl

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817871#comment-17817871
 ] 

Stefan Miklosovic commented on CASSANDRA-19397:
---

[CASSANDRA-19397|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19397]
{noformat}
java17_pre-commit_tests 
  ✓ j17_build4m 37s
  ✓ j17_cqlsh_dtests_py311   6m 56s
  ✓ j17_cqlsh_dtests_py311_vnode 6m 57s
  ✓ j17_cqlsh_dtests_py386m 16s
  ✓ j17_cqlsh_dtests_py38_vnode  6m 54s
  ✓ j17_cqlshlib_cython_tests 9m 6s
  ✓ j17_cqlshlib_tests   6m 23s
  ✓ j17_dtests  36m 38s
  ✓ j17_dtests_vnode34m 40s
  ✓ j17_jvm_dtests_repeat0m 30s
  ✓ j17_jvm_dtests_vnode_repeat  0m 32s
  ✓ j17_unit_tests_repeat11m 9s
  ✓ j17_utests_oa_repeat11m 30s
  ✕ j17_jvm_dtests  30m 54s
  org.apache.cassandra.distributed.test.log.FetchLogFromPeersTest 
catchupCoordinatorBehindTestPlacements
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testEndpointVerificationEnabledIpNotInSAN TIMEOUTED
  ✕ j17_jvm_dtests_vnode 26m 8s
  ✕ j17_unit_tests  14m 14s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
  ✕ j17_utests_oa   13m 53s
  org.apache.cassandra.net.ConnectionTest testTimeout
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
java17_separate_tests
java11_pre-commit_tests 
  ✓ j11_build7m 42s
  ✓ j11_cqlsh_dtests_py311   8m 40s
  ✓ j11_cqlsh_dtests_py311_vnode 7m 45s
  ✓ j11_cqlsh_dtests_py389m 57s
  ✓ j11_cqlsh_dtests_py38_vnode  9m 38s
  ✓ j11_cqlshlib_cython_tests   11m 44s
  ✓ j11_cqlshlib_tests   9m 56s
  ✓ j11_dtests  39m 38s
  ✓ j11_dtests_vnode34m 24s
  ✓ j11_jvm_dtests  25m 13s
  ✓ j11_jvm_dtests_repeat0m 28s
  ✓ j11_jvm_dtests_vnode23m 54s
  ✓ j11_jvm_dtests_vnode_repeat  3m 53s
  ✓ j11_unit_tests_repeat   15m 19s
  ✓ j11_utests_oa_repeat13m 20s
  ✓ j11_utests_system_keyspace_directory_repeat 14m 41s
  ✓ j17_cqlsh_dtests_py311   6m 53s
  ✓ j17_cqlsh_dtests_py311_vnode 7m 10s
  ✓ j17_cqlsh_dtests_py386m 55s
  ✓ j17_cqlsh_dtests_py38_vnode  7m 30s
  ✓ j17_cqlshlib_cython_tests8m 43s
  ✓ j17_cqlshlib_tests8m 8s
  ✓ j17_dtests   34m 6s
  ✓ j17_dtests_vnode34m 48s
  ✓ j17_jvm_dtests_repeat0m 17s
  ✓ j17_jvm_dtests_vnode_repeat  0m 32s
  ✓ j17_unit_tests_repeat   11m 31s
  ✓ j17_utests_oa_repeat11m 29s
  ✕ j11_simulator_dtests 9m 24s
  org.apache.cassandra.simulator.test.HarrySimulatorTest test
  org.apache.cassandra.simulator.test.ShortPaxosSimulationTest 
simulationTest
  ✕ j11_unit_tests  15m 18s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
  ✕ j11_utests_oa   17m 34s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
  ✕ j11_utests_system_keyspace_directory 18m 2s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
  ✕ j17_jvm_dtests  24m 51s
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testEndpointVerificationEnabledIpNotInSAN TIMEOUTED
  ✕ j17_jvm_dtests_vnode22m 57s
  
org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest 
testEndpointVerificationEnabledIpNotInSAN TIMEOUTED
  ✕ j17_unit_tests   13m 3s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
  ✕ j17_utests_oa   13m 22s
  org.apache.cassandra.index.sai.cql.VectorUpdateDeleteTest updateTest
java11_separate_tests
{noformat}


[jira] [Commented] (CASSANDRA-19397) Remove all code around native_transport_port_ssl

2024-02-16 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-19397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17817872#comment-17817872
 ] 

Stefan Miklosovic commented on CASSANDRA-19397:
---

[~brandon.williams] here I removed native_transport_port_ssl

> Remove all code around native_transport_port_ssl
> 
>
> Key: CASSANDRA-19397
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19397
> Project: Cassandra
>  Issue Type: Task
>  Components: Legacy/Core
>Reporter: Stefan Miklosovic
>Assignee: Stefan Miklosovic
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> We deprecated native_transport_port_ssl in CASSANDRA-19392 and we told we go 
> to remove it next. This ticket is about that removal. 



--
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