You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sm...@apache.org on 2025/02/04 10:05:13 UTC

(cassandra) branch trunk updated (648c944ceb -> 90f51b9c0b)

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 648c944ceb Merge branch 'cassandra-5.0' into trunk
     add 4f9e474bb1 Fix autocompletion for role names/user names
     add b044009f0b Merge branch 'cassandra-4.0' into cassandra-4.1
     add 36e46df4b1 Merge branch 'cassandra-4.1' into cassandra-5.0
     new 90f51b9c0b 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:
 CHANGES.txt                                  |  1 +
 pylib/cqlshlib/cql3handling.py               | 18 ++++--------------
 pylib/cqlshlib/test/test_cqlsh_completion.py |  2 +-
 3 files changed, 6 insertions(+), 15 deletions(-)


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


(cassandra) 01/01: Merge branch 'cassandra-5.0' into trunk

Posted by sm...@apache.org.
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 90f51b9c0b982c3505468dfbbfc31b9420917b14
Merge: 648c944ceb 36e46df4b1
Author: Stefan Miklosovic <sm...@apache.org>
AuthorDate: Tue Feb 4 10:57:16 2025 +0100

    Merge branch 'cassandra-5.0' into trunk

 CHANGES.txt                                  |  1 +
 pylib/cqlshlib/cql3handling.py               | 18 ++++--------------
 pylib/cqlshlib/test/test_cqlsh_completion.py |  2 +-
 3 files changed, 6 insertions(+), 15 deletions(-)

diff --cc CHANGES.txt
index a64f3482d2,b3cfd59476..c1406fee99
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -139,29 -17,15 +139,30 @@@ Merged from 5.0
   * Streamline the serialized format for index status gossip messages (CASSANDRA-20058)
   * Batch clusterings into single SAI partition post-filtering reads (CASSANDRA-19497)
   * Ban the usage of "var" instead of full types in the production code (CASSANDRA-20038)
 - * Suppress CVE-2024-45772 from lucene-core-9.7.0.jar (CASSANDRA-20024)
 + * Suppress CVE-2024-45772, upgrade to lucene-core-9.12.0.jar (CASSANDRA-20024)
 + * Use SinglePartitionReadCommand for index queries that use strict filtering (CASSANDRA-19968)
 + * Always write local expiration time as an int to LivenessInfo digest (CASSANDRA-19989)
 + * Enables IAuthenticator's to return own AuthenticateMessage (CASSANDRA-19984)
 + * Use ParameterizedClass for all auth-related implementations (CASSANDRA-19946)
 + * Correct out-of-date metrics and configuration documentation for SAI (CASSANDRA-19898)
 + * Make configuration entries in memtable section order-independent (CASSANDRA-19906)
 + * Add guardrail for enabling usage of VectorType (CASSANDRA-19903)
 + * Set executable flag for shell scripts in .build directory for source artifact (CASSANDRA-19896)
 + * Throw ConfigurationException when commitlog_disk_access_mode is direct but direct IO is not supported by filesystem (CASSANDRA-19812)
 + * Memtable allocation type unslabbed_heap_buffers_logged will cause an assertion error for TrieMemtables and SegmentedTrieMemtables (CASSANDRA-19835)
 + * Minor improvements in Cassandra shutdown and startup logs (CASSANDRA-19818)
 + * Fix direct IO support always being evaluated to false upon the first start of a node (CASSANDRA-19779)
 + * Deprecate and ignore use_deterministic_table_id (CASSANDRA-19809)
 + * Prioritize built indexes in IndexStatusManager (CASSANDRA-19400)
 + * Add java.base/java.lang.reflect among opens for jvm11-client.options (CASSANDRA-19780)
  Merged from 4.1:
 + * Fix WaitQueue.Signal.awaitUninterruptibly may block forever if invoking thread is interrupted (CASSANDRA-20084)
   * Run audit_logging_options through santiation and validation on startup (CASSANDRA-20208)
   * Enforce CQL message size limit on multiframe messages (CASSANDRA-20052)
 - * Add nodetool checktokenmetadata command that checks TokenMetadata is insync with Gossip endpointState (CASSANDRA-18758)
 - * Equality check for Paxos.Electorate should not depend on collection types (CASSANDRA-19935)
 + * Fix race condition in DecayingEstimatedHistogramReservoir during rescale (CASSANDRA-19365)
  Merged from 4.0:
 - * Tighten up permissions in dc and authorizers (CASSANDRA-20225)
++ * Fix autocompletion for role names/user names (CASSANDRA-20175)
 + * Tighten up permissions in dc and cidr authorizers (CASSANDRA-20225)
   * CBUtil serialization of UTF8 does not handle all UTF8 properly (CASSANDRA-20234)
   * Make hint expiry use request start time rather than timeout time for TTL (CASSANDRA-20014)
   * Do not attach rows and partitions to QueryCancellationChecker when already attached (CASSANDRA-20135)
diff --cc pylib/cqlshlib/test/test_cqlsh_completion.py
index b8c0fb1499,e5ecdb9a4c..da362c50f4
--- a/pylib/cqlshlib/test/test_cqlsh_completion.py
+++ b/pylib/cqlshlib/test/test_cqlsh_completion.py
@@@ -1143,9 -1031,9 +1143,9 @@@ class TestCqlshCompletion(CqlshCompleti
          self.trycompletions('ALTER USER ', choices=['<identifier>', 'IF', '<pgStringLiteral>', '<quotedStringLiteral>'])
  
      def test_complete_in_create_role(self):
-         self.trycompletions('CREATE ROLE ', choices=['<identifier>', 'IF', '<quotedName>'])
+         self.trycompletions('CREATE ROLE ', choices=['<rolename>', 'IF'])
          self.trycompletions('CREATE ROLE IF ', immediate='NOT EXISTS ')
 -        self.trycompletions('CREATE ROLE foo WITH ', choices=['ACCESS', 'HASHED', 'LOGIN', 'OPTIONS', 'PASSWORD', 'SUPERUSER'])
 +        self.trycompletions('CREATE ROLE foo WITH ', choices=['ACCESS', 'HASHED', 'LOGIN', 'OPTIONS', 'PASSWORD', 'SUPERUSER', 'GENERATED'])
          self.trycompletions('CREATE ROLE foo WITH HASHED ', immediate='PASSWORD = ')
          self.trycompletions('CREATE ROLE foo WITH ACCESS TO ', choices=['ALL', 'DATACENTERS'])
          self.trycompletions('CREATE ROLE foo WITH ACCESS TO ALL ', immediate='DATACENTERS ')


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