Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Chris Lu
10fc478557
scaffold -config= should output to stdout
fix https://github.com/chrislusf/seaweedfs/issues/2212
3 years ago
bingoohuang
5dbbe19c8b
extract embed toml example to separate files
4 years ago
nivekuil
8425705643
Cassandra: Use TokenAwareHostPolicy by default with fallback
See https://pkg.go.dev/github.com/gocql/gocql#hdr-Data_center_awareness_and_query_routing
4 years ago
Chris Lu
4d55132c7d
scaffold add comments
4 years ago
Chris Lu
dce1f02c9e
filer.backup: backup to local directory optionally is incremental
fixed one issue with https://github.com/chrislusf/seaweedfs/issues/2084
4 years ago
Chris Lu
064269bb57
filer: Support sqlite as filer meta store
4 years ago
liuxiaobo
c31c5e829c
fix path-specific filer store comment error
4 years ago
LazyDBA247-Anyvision
9385e2224d
fix postgres2 upsertQuery syntax also
4 years ago
Chris Lu
a5662c9e5e
adjust ordering
4 years ago
LazyDBA247-Anyvision
9f1cab179c
use a compatible pg syntax for upsert
4 years ago
LazyDBA247-Anyvision
4c51e6a660
add enableUpsert=true
and rename config to upsertQuery
4 years ago
Chris Lu
b61e9f6a1a
adjust ordering
4 years ago
LazyDBA247-Anyvision
96c62bd34d
scaffold - insertQuery
Example for upsert query for mysql & postgres variants
4 years ago
李海
69b2dab9c6
add a snowflake sequencer as more robust fid generator, but less compressable than small auto-inc id
4 years ago
Chris Lu
85cff10787
mysql: ensure name column is case sensitive
fix https://github.com/chrislusf/seaweedfs/issues/1931
4 years ago
Konstantin Lebedev
348e21a08c
add comments
4 years ago
Konstantin Lebedev
831953c55c
allowed wildcard domain
4 years ago
Konstantin Lebedev
4bf93d6e63
comma-separated
4 years ago
Konstantin Lebedev
190fada1ef
TLS allowed commonNames
4 years ago
Chris Lu
678c54d705
data sink: add incremental mode
4 years ago
LazyDBA247-Anyvision
7f458d5e78
better postgres connection pool management
adding SetConnMaxLifetime configuration (https://golang.org/pkg/database/sql/#DB.SetConnMaxLifetime )
to enable refresh of stale connections.
4 years ago
LazyDBA247-Anyvision
51b4963e2e
postgres2 & memsql2
add escape (quote identifiers) for the dynamic sql
so tables (collections) with special characters will work.
4 years ago
Chris Lu
9a06c35da4
replicate: incremental sink only contains new and updated files
address da08402ba2
4 years ago
Chris Lu
da08402ba2
replicate: use creation time for local incremental file sink
related to https://github.com/chrislusf/seaweedfs/pull/1762
4 years ago
Konstantin Lebedev
be1062b7fc
rename in scaffold
4 years ago
Konstantin Lebedev
6b54ff9912
replication to create time date directory
4 years ago
Chris Lu
0488c84bea
adjust help message
4 years ago
Konstantin Lebedev
3634811408
replication to todays date directory
4 years ago
Konstantin Lebedev
612b7975a1
replication to local disk storage
4 years ago
Chris Lu
1a3f859c58
filer store: postgres configuration adjust text
4 years ago
Chris Lu
b434f7e4e0
filer store: postgres adjust default config, add optioanl schema
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
96354208c5
scaffold: add YugabyteDB
4 years ago
Chris Lu
f13c082583
add memsql to comments
4 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.
4 years ago
Chris Lu
629c9962e7
filer: add leveldb3
support dedicated leveldb instance for each bucket
4 years ago
Chris Lu
2c7148cd55
redis cluster: do not enable route by latency by default
4 years ago
Chris Lu
a04d8927a8
add scaffold
4 years ago
Chris Lu
89977123b6
shell: add shell.toml support
fix https://github.com/chrislusf/seaweedfs/issues/1664
4 years ago
Chris Lu
75c6edba9e
filer: hbase add enabled flag
4 years ago
Chris Lu
c3d1b3b5aa
hook up
4 years ago
Chris Lu
90d785a15f
filer: redis, redis cluster, cassandra support super large directory
4 years ago
Chris Lu
41c0f3ad24
filer: support path-specific filer store
4 years ago
Chris Lu
ef3e068c51
deprecating "filer.options.buckets_fsync" in filer.toml
4 years ago
Chris Lu
8516517c48
filer store: Cassandra supports username/password
4 years ago
Chris Lu
1a7afe7e6a
adjust default value
related to https://github.com/chrislusf/seaweedfs/issues/1453
4 years ago
ruitao.liu
719dc43af1
modify elastic urls from string to array.
4 years ago
ruitao.liu
3f7fbfddca
add more basic elastic options.
4 years ago