SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Add cassandra authenticator mode
limded7816681aae
diff --git a/weed/filer/cassandra/cassandra_store.go b/weed/filer/cassandra/cassandra_store.goindex 250db629a7..ae8cb7a863 100644--- a/weed/filer/cassandra/cassandra_store.go+++ b/weed/filer/cassandra/cassandra_store.go@@ -28,11 +28,16 @@ func (store *CassandraStore) Initialize(configuration util.Configuration, prefixreturn store.initialize(configuration.GetString(prefix+"keyspace"),configuration.GetStringSlice(prefix+"hosts"),+ configuration.GetString(prefix+"username"),+ configuration.GetString(prefix+"password"),)}-func (store *CassandraStore) initialize(keyspace string, hosts []string) (err error) {+func (store *CassandraStore) initialize(keyspace string, hosts []string, username string, password string) (err error) {store.cluster = gocql.NewCluster(hosts...)+ if username != "" && password != "" {+ store.cluster.Authenticator = gocql.PasswordAuthenticator{Username: username, Password: password}+ }store.cluster.Keyspace = keyspacestore.cluster.Consistency = gocql.LocalQuorumstore.session, err = store.cluster.CreateSession()