Skip to content

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.

chore: fix some typos in comments (#5497)

yudrywet8833745fbcb1
diff --git a/k8s/charts/seaweedfs/README.md b/k8s/charts/seaweedfs/README.md
index c13d2058f2..41707ba8fe 100644
--- a/k8s/charts/seaweedfs/README.md
+++ b/k8s/charts/seaweedfs/README.md
@@ -32,7 +32,7 @@ so your deployment will be spread/HA.
leveldb is the default database, this supports multiple filer replicas that will [sync automatically](https://github.com/seaweedfs/seaweedfs/wiki/Filer-Store-Replication), with some [limitations](https://github.com/seaweedfs/seaweedfs/wiki/Filer-Store-Replication#limitation).
-When the [limitations](https://github.com/seaweedfs/seaweedfs/wiki/Filer-Store-Replication#limitation) apply, or for a large number of filer replicas, an external datastore is recommened.
+When the [limitations](https://github.com/seaweedfs/seaweedfs/wiki/Filer-Store-Replication#limitation) apply, or for a large number of filer replicas, an external datastore is recommended.
Such as MySQL-compatible database, as specified in the `values.yaml` at `filer.extraEnvironmentVars`.
This database should be pre-configured and initialized by running:
@@ -96,7 +96,7 @@ filer:
enabled: true
```
-### Enabling Authenticaion to S3
+### Enabling Authentication to S3
To enable authentication for S3, you have two options:
diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml
index 676d0ca6f3..26009a28b4 100644
--- a/k8s/charts/seaweedfs/values.yaml
+++ b/k8s/charts/seaweedfs/values.yaml
@@ -77,7 +77,7 @@ master:
config: |-
# Enter any extra configuration for master.toml here.
- # It may be be a multi-line string.
+ # It may be a multi-line string.
# You may use ANY storage-class, example with local-path-provisioner
# Annotations are optional.
diff --git a/weed/mq/client/cmd/weed_sub/subscriber.go b/weed/mq/client/cmd/weed_sub/subscriber.go
index 6d0e49be1e..adcdda04c8 100644
--- a/weed/mq/client/cmd/weed_sub/subscriber.go
+++ b/weed/mq/client/cmd/weed_sub/subscriber.go
@@ -52,7 +52,7 @@ func main() {
})
subscriber.SetCompletionFunc(func() {
- glog.V(0).Infof("done recived %d messages", counter)
+ glog.V(0).Infof("done received %d messages", counter)
})
if err := subscriber.Subscribe(); err != nil {
diff --git a/weed/server/filer_server.go b/weed/server/filer_server.go
index 9880afee00..ec1dff445b 100644
--- a/weed/server/filer_server.go
+++ b/weed/server/filer_server.go
@@ -177,7 +177,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete")
v.SetDefault("filer.options.buckets_folder", "/buckets")
fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder")
- // TODO deprecated, will be be removed after 2020-12-31
+ // TODO deprecated, will be removed after 2020-12-31
// replaced by https://github.com/seaweedfs/seaweedfs/wiki/Path-Specific-Configuration
// fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync")
isFresh := fs.filer.LoadConfiguration(v)
diff --git a/weed/server/volume_server_handlers.go b/weed/server/volume_server_handlers.go
index 4325b0074c..85fb9ba817 100644
--- a/weed/server/volume_server_handlers.go
+++ b/weed/server/volume_server_handlers.go
@@ -97,7 +97,7 @@ func (vs *VolumeServer) privateStoreHandler(w http.ResponseWriter, r *http.Reque
}
}()
- // processs uploads
+ // processes uploads
stats.WriteRequest()
vs.guard.WhiteList(vs.PostHandler)(w, r)