chore: fix some typos in comments (#5497)

This commit is contained in:
yudrywet
2024-04-14 22:42:40 +08:00
committed by GitHub
parent 7a72677f98
commit 8833745fbc
5 changed files with 6 additions and 6 deletions

View File

@@ -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). 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`. Such as MySQL-compatible database, as specified in the `values.yaml` at `filer.extraEnvironmentVars`.
This database should be pre-configured and initialized by running: This database should be pre-configured and initialized by running:
@@ -96,7 +96,7 @@ filer:
enabled: true enabled: true
``` ```
### Enabling Authenticaion to S3 ### Enabling Authentication to S3
To enable authentication for S3, you have two options: To enable authentication for S3, you have two options:

View File

@@ -77,7 +77,7 @@ master:
config: |- config: |-
# Enter any extra configuration for master.toml here. # 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 # You may use ANY storage-class, example with local-path-provisioner
# Annotations are optional. # Annotations are optional.

View File

@@ -52,7 +52,7 @@ func main() {
}) })
subscriber.SetCompletionFunc(func() { 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 { if err := subscriber.Subscribe(); err != nil {

View File

@@ -177,7 +177,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete") fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete")
v.SetDefault("filer.options.buckets_folder", "/buckets") v.SetDefault("filer.options.buckets_folder", "/buckets")
fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder") 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 // replaced by https://github.com/seaweedfs/seaweedfs/wiki/Path-Specific-Configuration
// fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync") // fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync")
isFresh := fs.filer.LoadConfiguration(v) isFresh := fs.filer.LoadConfiguration(v)

View File

@@ -97,7 +97,7 @@ func (vs *VolumeServer) privateStoreHandler(w http.ResponseWriter, r *http.Reque
} }
}() }()
// processs uploads // processes uploads
stats.WriteRequest() stats.WriteRequest()
vs.guard.WhiteList(vs.PostHandler)(w, r) vs.guard.WhiteList(vs.PostHandler)(w, r)