Konstantin Lebedev
21033ff4c3
refactor use const CountEntryChunksForGzip
3 years ago
Konstantin Lebedev
ec0ed41e37
ydb kv interface
3 years ago
Chris Lu
182288f860
filer: fix mysql, postgres batch delete error
3 years ago
Konstantin Lebedev
6aa1a56ec8
avoid crashes Galera Cluster
https://github.com/chrislusf/seaweedfs/issues/2125
4 years ago
Chris Lu
9357911a95
remove all bucket metadata
fix https://github.com/chrislusf/seaweedfs/issues/2118
4 years ago
Chris Lu
89eb9f6e70
clean up .uploads directory in mysql and postgres tables
fix https://github.com/chrislusf/seaweedfs/issues/1957
When no uploads are running, you can run this SQL to clean up.
delete from <bucket_name> where directory like '/.uploads/%'
4 years ago
Chris Lu
5e64f65632
ensure tables are created
fix https://github.com/chrislusf/seaweedfs/issues/1957
4 years ago
Chris Lu
bd7471d877
refactor
4 years ago
Chris Lu
6d3a96eb56
filer: mysql2, postgres2 trigger actions on bucket creation and deletion
fix https://github.com/chrislusf/seaweedfs/issues/1877
4 years ago
Chris Lu
b9b5b932c5
filer: postgres2 mysql2 avoid repeatedly creating tables
4 years ago
Chris Lu
d5add83e85
filer store: add postgres2
4 years ago
Chris Lu
52a8f1470e
filer store: add mysql2
4 years ago
Chris Lu
93b3adba98
fix bucket creation
4 years ago
Chris Lu
fa0c8d5283
fix error
4 years ago
Chris Lu
4c5b752b04
restructuring sql stores
4 years ago
Chris Lu
ca8f793978
refactor: prepare for bucket specific tables
4 years ago
Chris Lu
90ce1eec19
add more input params
4 years ago
Chris Lu
a4063a5437
add stream list directory entries
4 years ago
Chris Lu
16ad74f477
go fmt
4 years ago
Chris Lu
f002e668de
change limit to int64 in case of overflow
4 years ago
Chris Lu
c0bcf6f6e1
implement sql changes
4 years ago
Chris Lu
4f31c1bb94
go fmt
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
Chris Lu
38fc89d041
filer store: sql update if any insert error happens
fix https://github.com/chrislusf/seaweedfs/issues/1673
4 years ago
Chris Lu
23280257df
sql put kv: avoid unnecessary update
4 years ago
Chris Lu
68d39c86f1
mysql, postgres, cassandra: change kv key to base64 encoding
The exisitng key-value operation for stores using mysql, postgres, and maybe cassandra are already broken.
The kv is used to store hardlink, filer store signature and replication progress.
So users using hardlink and also uses mysql, postgres, or cassandra will have broken hard links.
Users using filer.sync will need to re-sync the files.
4 years ago
Chris Lu
b0c7de186d
filer: fix postgres prefixed directory listing problem
fix https://github.com/chrislusf/seaweedfs/issues/1465
4 years ago
Chris Lu
b8f32bcab9
filer: compress stored metadata
4 years ago
Chris Lu
7c770b727c
Update abstract_sql_store_kv.go
4 years ago
Chris Lu
05a6e2dc7f
sql kv upsert
4 years ago
Chris Lu
ed62f52452
fix sql insert with duplicated primary key
4 years ago
Chris Lu
9ea290aa12
fix error message
4 years ago
Chris Lu
06a1188267
mysql/postgres: support kv operations
4 years ago
Chris Lu
87d7312bf6
mysql/postgres: properly report entry not found
4 years ago
Chris Lu
72b0a5f1d1
mysql or postgres: log find error
4 years ago
Chris Lu
37234bf3f8
filer store adds kv support
can compile now, need to implement those unimplemented
4 years ago
Chris Lu
eb7929a971
rename filer2 to filer
4 years ago