Chris Lu
379c032868
Fix chown Input/output error on large file sets ( #7996 )
* Fix chown Input/output error on large file sets (Fixes #7911 )
Implemented retry logic for MySQL/MariaDB backend to handle transient errors like deadlocks and timeouts.
* Fix syntax error: missing closing brace
* Refactor: Use %w for error wrapping and errors.As for extraction
* Fix: Disable retry logic inside transactions
2 weeks ago
promalert
9012069bd7
chore: execute goimports to format the code ( #7983 )
* chore: execute goimports to format the code
Signed-off-by: promalert <promalert@outlook.com>
* goimports -w .
---------
Signed-off-by: promalert <promalert@outlook.com>
Co-authored-by: Chris Lu <chris.lu@gmail.com>
2 weeks ago
Chris Lu
69553e5ba6
convert error fromating to %w everywhere ( #6995 )
6 months ago
bwlfhu
f1181f1121
Fix mysql tls enable ( #6807 )
8 months ago
Konstantin Lebedev
3c9bcfb864
chore: add dsn for connection to mysql ( #5060 )
* chore: add dsn for connection to mysql
* add comment
* new comment
* fix: validate dsn and adapt password
2 years ago
chrislu
361d97941b
mysql: Missed escaping column name
fix https://github.com/seaweedfs/seaweedfs/issues/4129
3 years ago
CommanderRoot
c7c9d22f37
filer.store.mysql: Use utf8mb4 instead of 3 byte UTF8 ( #4094 )
3 years ago
CommanderRoot
265a56630b
filer.store.mysql: Escape table columns in SQL query ( #4095 )
3 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
4 years ago
byunghwa.yun
2b28a818f1
Fix mysql sql for batch delete
5 years ago
Konstantin Lebedev
6aa1a56ec8
avoid crashes Galera Cluster
https://github.com/chrislusf/seaweedfs/issues/2125
5 years ago
Chris Lu
8e404a1433
go fmt
5 years ago
LazyDBA247-Anyvision
7f44d953b5
fix GetBool
5 years ago
LazyDBA247-Anyvision
4c51e6a660
add enableUpsert=true
and rename config to upsertQuery
5 years ago
LazyDBA247-Anyvision
4a02389eb0
Adding custom insertQuery support for postgres/2 mysql/2
5 years ago
Chris Lu
bd7471d877
refactor
5 years ago
Chris Lu
3575d41009
go fmt
5 years ago
Chris Lu
3f8b0da677
filer: do not print password on error
fix https://github.com/chrislusf/seaweedfs/issues/1809
5 years ago
LazyDBA247-Anyvision
51b4963e2e
postgres2 & memsql2
add escape (quote identifiers) for the dynamic sql
so tables (collections) with special characters will work.
5 years ago
Chris Lu
52a8f1470e
filer store: add mysql2
5 years ago
Chris Lu
93b3adba98
fix bucket creation
5 years ago
Chris Lu
4c5b752b04
restructuring sql stores
5 years ago
Chris Lu
16ad74f477
go fmt
5 years ago
Chris Lu
fd1d8a2a09
fix compilation
5 years ago
LazyDBA247-Anyvision
8eed763b97
better mysql connection pool management
adding SetConnMaxLifetime configuration (https://golang.org/pkg/database/sql/#DB.SetConnMaxLifetime )
to enable refresh of connections.
5 years ago
Chris Lu
b0c7de186d
filer: fix postgres prefixed directory listing problem
fix https://github.com/chrislusf/seaweedfs/issues/1465
5 years ago
Chris Lu
eb7929a971
rename filer2 to filer
5 years ago