Merge "Fix misspellings in swift"

This commit is contained in:
Jenkins 2014-02-21 01:36:53 +00:00 committed by Gerrit Code Review
commit 0bfbbdc5ee
11 changed files with 16 additions and 16 deletions

View File

@ -56,7 +56,7 @@ def get_devices(device_dir, logger):
def get_errors(error_re, log_file_pattern, minutes): def get_errors(error_re, log_file_pattern, minutes):
# Assuming log rotation is being used, we need to examine # Assuming log rotation is being used, we need to examine
# recently rotated files in case the rotation occured # recently rotated files in case the rotation occurred
# just before the script is being run - the data we are # just before the script is being run - the data we are
# looking for may have rotated. # looking for may have rotated.
# #

View File

@ -198,7 +198,7 @@ Max duration of a partition rsync. The default is 900 seconds.
.IP \fBrsync_io_timeout\fR .IP \fBrsync_io_timeout\fR
Passed to rsync for I/O OP timeout. The default is 30 seconds. Passed to rsync for I/O OP timeout. The default is 30 seconds.
.IP \fBrsync_bwlimit\fR .IP \fBrsync_bwlimit\fR
Passed to rsync for bandwith limit in kB/s. The default is 0 (unlimited) Passed to rsync for bandwidth limit in kB/s. The default is 0 (unlimited).
.IP \fBhttp_timeout\fR .IP \fBhttp_timeout\fR
Max duration of an HTTP request. The default is 60 seconds. Max duration of an HTTP request. The default is 60 seconds.
.IP \fBlockup_timeout\fR .IP \fBlockup_timeout\fR

View File

@ -892,7 +892,7 @@ Metric Name Description
`object-server.PUT.timeouts` Count of object PUTs which exceeded max_upload_time. `object-server.PUT.timeouts` Count of object PUTs which exceeded max_upload_time.
`object-server.PUT.timing` Timing data for each PUT request not resulting in an `object-server.PUT.timing` Timing data for each PUT request not resulting in an
error. error.
`object-server.PUT.<device>.timing` Timing data per kB transfered (ms/kB) for each `object-server.PUT.<device>.timing` Timing data per kB transferred (ms/kB) for each
non-zero-byte PUT request on each device. non-zero-byte PUT request on each device.
Monitoring problematic devices, higher is bad. Monitoring problematic devices, higher is bad.
`object-server.GET.errors.timing` Timing data for GET request errors: bad request, `object-server.GET.errors.timing` Timing data for GET request errors: bad request,

View File

@ -47,7 +47,7 @@ For continuation lines, put some whitespace before the continuation
text. Ensure you put a completely blank line to terminate the text. Ensure you put a completely blank line to terminate the
cross_domain_policy value. cross_domain_policy value.
The cross_domain_policy name/value is optional. If omited, the policy The cross_domain_policy name/value is optional. If omitted, the policy
defaults as if you had specified:: defaults as if you had specified::
cross_domain_policy = <allow-access-from domain="*" secure="false" /> cross_domain_policy = <allow-access-from domain="*" secure="false" />

View File

@ -478,7 +478,7 @@ handoffs_first false If set to True, partitions that are
extreme situations. extreme situations.
handoff_delete auto By default handoff partitions will be handoff_delete auto By default handoff partitions will be
removed when it has successfully removed when it has successfully
replicated to all the cannonical nodes. replicated to all the canonical nodes.
If set to an integer n, it will remove If set to an integer n, it will remove
the partition if it is successfully the partition if it is successfully
replicated to n nodes. The default replicated to n nodes. The default

View File

@ -28,7 +28,7 @@ administrator (``root``) privileges; however, we assume that administrator logs
in as an unprivileged user and can use ``sudo`` to run privileged commands. in as an unprivileged user and can use ``sudo`` to run privileged commands.
Swift processes also run under a separate user and group, set by configuration Swift processes also run under a separate user and group, set by configuration
option, and refered as ``<your-user-name>:<your-group-name>``. The default user option, and referenced as ``<your-user-name>:<your-group-name>``. The default user
is ``swift``, which may not exist on your system. These instructions are is ``swift``, which may not exist on your system. These instructions are
intended to allow a developer to use his/her username for intended to allow a developer to use his/her username for
``<your-user-name>:<your-group-name>``. ``<your-user-name>:<your-group-name>``.

View File

@ -432,7 +432,7 @@ this seemingly-redundant work, any container-sync failure results in
unsynchronized objects. Note that the container sync will persistently unsynchronized objects. Note that the container sync will persistently
retry to sync any faulty object until success, while logging each failure. retry to sync any faulty object until success, while logging each failure.
Once it's done with the fallback rows, and assuming no faults occured, Once it's done with the fallback rows, and assuming no faults occurred,
SP2 is advanced to SP1. :: SP2 is advanced to SP1. ::
SP2 SP2

View File

@ -90,7 +90,7 @@ bottleneck from causing a problem. There could also be a problem where a single
account is just using too much of the cluster's resources. In this case, the account is just using too much of the cluster's resources. In this case, the
container ratelimits may not help because the customer could be doing thousands container ratelimits may not help because the customer could be doing thousands
of reqs/sec to distributed containers each getting a small fraction of the of reqs/sec to distributed containers each getting a small fraction of the
total so those limits would never trigger. If a system adminstrator notices total so those limits would never trigger. If a system administrator notices
this, he/she can set the X-Account-Sysmeta-Global-Write-Ratelimit on an account this, he/she can set the X-Account-Sysmeta-Global-Write-Ratelimit on an account
and that will limit the total number of write requests (PUT, POST, DELETE, and that will limit the total number of write requests (PUT, POST, DELETE,
COPY) that account can do for the whole account. This limit will be in addition COPY) that account can do for the whole account. This limit will be in addition

View File

@ -150,15 +150,15 @@ use = egg:swift#recon
# stats_interval = 300 # stats_interval = 300
# #
# The sync method to use; default is rsync but you can use ssync to try the # The sync method to use; default is rsync but you can use ssync to try the
# EXPERIMENTAL all-swift-code-no-rsync-callouts method. Once verified as stable # EXPERIMENTAL all-swift-code-no-rsync-callouts method. Once ssync is verified
# and nearly as efficient (or moreso) than rsync, we plan to deprecate rsync so # as having performance comparable to, or better than, rsync, we plan to
# we can move on with more features for replication. # deprecate rsync so we can move on with more features for replication.
# sync_method = rsync # sync_method = rsync
# #
# max duration of a partition rsync # max duration of a partition rsync
# rsync_timeout = 900 # rsync_timeout = 900
# #
# bandwith limit for rsync in kB/s. 0 means unlimited # bandwidth limit for rsync in kB/s. 0 means unlimited
# rsync_bwlimit = 0 # rsync_bwlimit = 0
# #
# passed to rsync for io op timeout # passed to rsync for io op timeout

View File

@ -47,7 +47,7 @@ class CrossDomainMiddleware(object):
text. Ensure you put a completely blank line to terminate the text. Ensure you put a completely blank line to terminate the
cross_domain_policy value. cross_domain_policy value.
The cross_domain_policy name/value is optional. If omited, the policy The cross_domain_policy name/value is optional. If omitted, the policy
defaults as if you had specified:: defaults as if you had specified::
cross_domain_policy = <allow-access-from domain="*" secure="false" /> cross_domain_policy = <allow-access-from domain="*" secure="false" />

View File

@ -86,7 +86,7 @@ class TestChexor(unittest.TestCase):
class TestGreenDBConnection(unittest.TestCase): class TestGreenDBConnection(unittest.TestCase):
def test_execute_when_locked(self): def test_execute_when_locked(self):
# This test is dependant on the code under test calling execute and # This test is dependent on the code under test calling execute and
# commit as sqlite3.Cursor.execute in a subclass. # commit as sqlite3.Cursor.execute in a subclass.
class InterceptCursor(sqlite3.Cursor): class InterceptCursor(sqlite3.Cursor):
pass pass
@ -102,7 +102,7 @@ class TestGreenDBConnection(unittest.TestCase):
InterceptCursor.execute.call_count)) InterceptCursor.execute.call_count))
def text_commit_when_locked(self): def text_commit_when_locked(self):
# This test is dependant on the code under test calling commit and # This test is dependent on the code under test calling commit and
# commit as sqlite3.Connection.commit in a subclass. # commit as sqlite3.Connection.commit in a subclass.
class InterceptConnection(sqlite3.Connection): class InterceptConnection(sqlite3.Connection):
pass pass
@ -129,7 +129,7 @@ class TestGetDBConnection(unittest.TestCase):
'invalid database path / name') 'invalid database path / name')
def test_locked_db(self): def test_locked_db(self):
# This test is dependant on the code under test calling execute and # This test is dependent on the code under test calling execute and
# commit as sqlite3.Cursor.execute in a subclass. # commit as sqlite3.Cursor.execute in a subclass.
class InterceptCursor(sqlite3.Cursor): class InterceptCursor(sqlite3.Cursor):
pass pass