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
print only adapted url
chrislu36fec34c4722
diff --git a/weed/filer/mysql2/mysql2_store.go b/weed/filer/mysql2/mysql2_store.goindex acf621a006..2bce3c0633 100644--- a/weed/filer/mysql2/mysql2_store.go+++ b/weed/filer/mysql2/mysql2_store.go@@ -82,7 +82,7 @@ func (store *MysqlStore2) initialize(createTable, upsertQuery string, enableUpsestore.DB.SetConnMaxLifetime(time.Duration(maxLifetimeSeconds) * time.Second)if err = store.DB.Ping(); err != nil {- return fmt.Errorf("connect to %s error:%v", sqlUrl, err)+ return fmt.Errorf("connect to %s error:%v", adaptedSqlUrl, err)}if err = store.CreateTable(context.Background(), abstract_sql.DEFAULT_TABLE); err != nil && !strings.Contains(err.Error(), "table already exist") {diff --git a/weed/filer/postgres/postgres_store.go b/weed/filer/postgres/postgres_store.goindex cacdbd864f..0c02f0726f 100644--- a/weed/filer/postgres/postgres_store.go+++ b/weed/filer/postgres/postgres_store.go@@ -92,7 +92,7 @@ func (store *PostgresStore) initialize(upsertQuery string, enableUpsert bool, usstore.DB.SetConnMaxLifetime(time.Duration(maxLifetimeSeconds) * time.Second)if err = store.DB.Ping(); err != nil {- return fmt.Errorf("connect to %s error:%v", sqlUrl, err)+ return fmt.Errorf("connect to %s error:%v", adaptedSqlUrl, err)}return nildiff --git a/weed/filer/postgres2/postgres2_store.go b/weed/filer/postgres2/postgres2_store.goindex bdff859e90..4f063ad192 100644--- a/weed/filer/postgres2/postgres2_store.go+++ b/weed/filer/postgres2/postgres2_store.go@@ -97,7 +97,7 @@ func (store *PostgresStore2) initialize(createTable, upsertQuery string, enableUstore.DB.SetConnMaxLifetime(time.Duration(maxLifetimeSeconds) * time.Second)if err = store.DB.Ping(); err != nil {- return fmt.Errorf("connect to %s error:%v", sqlUrl, err)+ return fmt.Errorf("connect to %s error:%v", adaptedSqlUrl, err)}if err = store.CreateTable(context.Background(), abstract_sql.DEFAULT_TABLE); err != nil {