Commit graph

7309 commits

Author SHA1 Message Date
chrislu 8f0410af2c 2.95 2022-03-21 01:47:03 -07:00
chrislu 24541fc7ec minor 2022-03-21 00:43:47 -07:00
chrislu ae558fa073 log reasons volumes became unwritable 2022-03-21 00:41:44 -07:00
chrislu 57c6eddd22 avoid possible deadlock if volume layout is used in some logs 2022-03-21 00:04:01 -07:00
Chris Lu 80c14877d3
Update README.md 2022-03-20 03:30:40 -07:00
chrislu 581c93d970 change to config_dir, to be consistent with "weed scaffold -config"
fix https://github.com/chrislusf/seaweedfs/issues/2753
2022-03-19 00:24:52 -07:00
chrislu b75c6dcff5 Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-03-19 00:22:52 -07:00
chrislu 3da2b83b38 Added a "-conf_dir" option to customize *.toml configuration file directory.
fix https://github.com/chrislusf/seaweedfs/issues/2753
2022-03-19 00:22:47 -07:00
Chris Lu 4615560182
Merge pull request #2776 from zhuqunzhou/master 2022-03-18 18:20:15 -07:00
zzq09494 9f16df736e fix-filer: calculation error of the method skipCheckParentDirEntry 2022-03-19 09:15:42 +08:00
Chris Lu b1a819ebd8
Merge pull request #2773 from chrislusf/dependabot/go_modules/github.com/peterh/liner-1.2.2
Bump github.com/peterh/liner from 1.1.0 to 1.2.2
2022-03-18 15:02:53 -07:00
dependabot[bot] b69ccc92b3
Bump github.com/peterh/liner from 1.1.0 to 1.2.2
Bumps [github.com/peterh/liner](https://github.com/peterh/liner) from 1.1.0 to 1.2.2.
- [Release notes](https://github.com/peterh/liner/releases)
- [Commits](https://github.com/peterh/liner/compare/v1.1.0...v1.2.2)

---
updated-dependencies:
- dependency-name: github.com/peterh/liner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 21:43:04 +00:00
Chris Lu db578b0ea4
Merge pull request #2775 from chrislusf/dependabot/go_modules/github.com/json-iterator/go-1.1.12
Bump github.com/json-iterator/go from 1.1.11 to 1.1.12
2022-03-18 14:40:54 -07:00
Chris Lu 3a18e905d0
Merge pull request #2774 from chrislusf/dependabot/go_modules/github.com/jcmturner/gokrb5/v8-8.4.2
Bump github.com/jcmturner/gokrb5/v8 from 8.4.1 to 8.4.2
2022-03-18 14:40:23 -07:00
Chris Lu e13959996a
Merge pull request #2772 from chrislusf/dependabot/go_modules/modernc.org/sqlite-1.15.2
Bump modernc.org/sqlite from 1.10.7 to 1.15.2
2022-03-18 14:40:16 -07:00
Chris Lu ecf198b752
Merge pull request #2771 from chrislusf/dependabot/go_modules/github.com/go-redis/redis/v8-8.11.5
Bump github.com/go-redis/redis/v8 from 8.4.4 to 8.11.5
2022-03-18 14:38:38 -07:00
dependabot[bot] 39fa4c75df
Bump github.com/json-iterator/go from 1.1.11 to 1.1.12
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/json-iterator/go/releases)
- [Commits](https://github.com/json-iterator/go/compare/v1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: github.com/json-iterator/go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 21:35:55 +00:00
dependabot[bot] c93976dda4
Bump github.com/jcmturner/gokrb5/v8 from 8.4.1 to 8.4.2
Bumps [github.com/jcmturner/gokrb5/v8](https://github.com/jcmturner/gokrb5) from 8.4.1 to 8.4.2.
- [Release notes](https://github.com/jcmturner/gokrb5/releases)
- [Commits](https://github.com/jcmturner/gokrb5/compare/v8.4.1...v8.4.2)

---
updated-dependencies:
- dependency-name: github.com/jcmturner/gokrb5/v8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 21:35:48 +00:00
dependabot[bot] 822a6fe3c8
Bump modernc.org/sqlite from 1.10.7 to 1.15.2
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.10.7 to 1.15.2.
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.10.7...v1.15.2)

---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 21:35:22 +00:00
dependabot[bot] c51f65df9e
Bump github.com/go-redis/redis/v8 from 8.4.4 to 8.11.5
Bumps [github.com/go-redis/redis/v8](https://github.com/go-redis/redis) from 8.4.4 to 8.11.5.
- [Release notes](https://github.com/go-redis/redis/releases)
- [Changelog](https://github.com/go-redis/redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-redis/redis/compare/v8.4.4...v8.11.5)

---
updated-dependencies:
- dependency-name: github.com/go-redis/redis/v8
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 21:34:25 +00:00
Chris Lu 4bb17c6e36
Merge pull request #2770 from naveensrinivasan/naveen/dependabot-go
Dependabot config settings for golang
2022-03-18 14:27:04 -07:00
naveensrinivasan 48a2d3327d Dependabot config settings for golang
- Dependabot config settings for golang
2022-03-18 21:17:43 +00:00
Chris Lu ce58bda4a0
Merge pull request #2769 from chrislusf/dependabot/github_actions/actions/setup-go-3
Bump actions/setup-go from 2.2.0 to 3
2022-03-18 14:13:11 -07:00
dependabot[bot] c0475cc267
Bump actions/setup-go from 2.2.0 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.2.0 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](bfdd3570ce...f6164bd8c8)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 21:12:05 +00:00
Chris Lu 04c3be6829
Merge pull request #2768 from naveensrinivasan/naveen/feat/dependabot
Dependabot for GitHub actions
2022-03-18 14:11:34 -07:00
naveensrinivasan d75d409800 Dependabot for GitHub actions
- Included dependabot config for GitHub actions.
2022-03-18 21:08:06 +00:00
Chris Lu 3f514ef1a7
Update README.md 2022-03-18 14:05:01 -07:00
Chris Lu 5b2814ec64
Update README.md 2022-03-18 14:03:19 -07:00
Chris Lu cf95091d40
Merge pull request #2767 from naveensrinivasan/naveen/feat/pin-actions
Pin actions to a full length commit SHA
2022-03-18 13:52:37 -07:00
naveensrinivasan dd737bd755 Pin actions to a full length commit SHA
- Pinned actions by SHA https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

>Pin actions to a full length commit SHA

>Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload.

https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
2022-03-18 20:47:20 +00:00
chrislu 2824940ecf Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-03-17 16:54:30 -07:00
chrislu f247cab5cd skip localhost if bound to all interfaces already 0.0.0.0 or 127.0.0.1 2022-03-17 16:54:29 -07:00
Chris Lu 01c48da6ce
Merge pull request #2765 from bercknash/berck/fix_default_ips
The fixes for https://github.com/chrislusf/seaweedfs/issues/1937 had …
2022-03-17 14:57:07 -07:00
Berck Nash 7ee38fa3a4 The fixes for https://github.com/chrislusf/seaweedfs/issues/1937 had a few problems:
(1) The help file says that in the absence of a ipBind being specified, that it will bind to the "ip" specified.  Instead, it bound to localhost which broke the default configuration.  This change implements the documented behavior instead.

(2) The new IAM filer ip address has no default. This instantiates it to the same as the filer IP.  I'm not sure if there should be a corresponding iam.ip or iam.ipBind option added to the filer command?
2022-03-17 15:30:23 -06:00
chrislu 6886167d5f minor optimization 2022-03-17 00:03:28 -07:00
chrislu 7542fd7f4d mount: optimize a bit when writing files 2022-03-17 00:02:38 -07:00
chrislu 4042fdf3bb rename to skipCheckParentDir
related to https://github.com/chrislusf/seaweedfs/pull/2761

It's better to default to false.
2022-03-16 23:55:31 -07:00
Chris Lu d2acde2a61
Merge pull request #2761 from zhuqunzhou/master
filer: support uploading file without needEnsureParentDir
2022-03-16 23:20:56 -07:00
zzq09494 40b0033fa7 go fmt 2022-03-17 14:19:48 +08:00
zzq09494 ee5417a5b3 fix: ut test error 2022-03-17 11:16:46 +08:00
zzq09494 81cce4b4c3 filer: support uploading file without needEnsureParentDir 2022-03-17 10:53:47 +08:00
zzq09494 a6a8892255 Revert "filer: support uploading file without needEnsureParentDir"
This reverts commit a93c4947ba.
2022-03-17 10:27:17 +08:00
zzq09494 a93c4947ba filer: support uploading file without needEnsureParentDir 2022-03-17 10:18:23 +08:00
Chris Lu 2aa9d9f84a
Merge pull request #2760 from bercknash/berck/mtls 2022-03-16 09:40:51 -07:00
Berck Nash 9b14f0c81a Add mTLS support for both master and volume http server. 2022-03-16 09:52:17 -06:00
chrislu b5b97a4799 go 1.18 2022-03-16 01:35:12 -07:00
chrislu ed818c90a9 Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-03-15 22:28:21 -07:00
chrislu 3639cad69c master, filer, s3: also listen to "localhost" in addition to specific ip address
related to https://github.com/chrislusf/seaweedfs/issues/1937
2022-03-15 22:28:18 -07:00
Chris Lu fa6fe327bf
Merge pull request #2756 from kmlebedev/upload_conn_timeout
reduced the timeout for creating a connection from 30 to 10 seconds
2022-03-15 11:45:03 -07:00
Konstantin Lebedev c2e7d663bc reduced the timeout for creating a connection from 30 to 10 seconds 2022-03-15 13:32:05 +05:00