diff options
author | Alistair Coles <alistairncoles@gmail.com> | 2021-07-16 12:27:25 +0100 |
---|---|---|
committer | Alistair Coles <alistairncoles@gmail.com> | 2021-07-19 21:18:06 +0100 |
commit | 2696a79f098b02988136b13caf1c2565ec09481f (patch) | |
tree | 37f019aa85a21dd17b1b28ea17401d68c71dc90c /etc | |
parent | bbaed18e9b681ce9cf26ffa6a5d5292f5cb219b7 (diff) | |
download | swift-2696a79f098b02988136b13caf1c2565ec09481f.tar.gz |
reconstructor: retire nondurable_purge_delay option
The nondurable_purge_delay option was introduced in [1] to prevent the
reconstructor removing non-durable data files on handoffs that were
about to be made durable. The DiskFileManager commit_window option has
since been introduced [2] which specifies a similar time window during
which non-durable data files should not be removed. The commit_window
option can be re-used by the reconstructor, making the
nondurable_purge_delay option redundant.
The nondurable_purge_delay option has not been available in any tagged
release and is therefore removed with no backwards compatibility.
[1] Related-Change: I0d519ebaaade35249fb7b17bd5f419ffdaa616c0
[2] Related-Change: I5f3318a44af64b77a63713e6ff8d0fd3b6144f13
Change-Id: I1589a7517b7375fcc21472e2d514f26986bf5079
Diffstat (limited to 'etc')
-rw-r--r-- | etc/object-server.conf-sample | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/etc/object-server.conf-sample b/etc/object-server.conf-sample index 3e4dd8896..db4d22636 100644 --- a/etc/object-server.conf-sample +++ b/etc/object-server.conf-sample @@ -89,9 +89,13 @@ bind_port = 6200 # # Non-durable data files may also get reclaimed if they are older than # reclaim_age, but not if the time they were written to disk (i.e. mtime) is -# less than commit_window seconds ago. A commit_window greater than zero is -# strongly recommended to avoid unintended reclamation of data files that were -# about to become durable; commit_window should be much less than reclaim_age. +# less than commit_window seconds ago. The commit_window also prevents the +# reconstructor removing recently written non-durable data files from a handoff +# node after reverting them to a primary. This gives the object-server a window +# in which to finish a concurrent PUT on a handoff and mark the data durable. A +# commit_window greater than zero is strongly recommended to avoid unintended +# removal of data files that were about to become durable; commit_window should +# be much less than reclaim_age. # commit_window = 60.0 # # You can set scheduling priority of processes. Niceness values range from -20 @@ -433,12 +437,6 @@ use = egg:swift#recon # to be rebuilt). The minimum is only exceeded if request_node_count is # greater, and only for the purposes of quarantining. # request_node_count = 2 * replicas -# -# Sets a delay, in seconds, before the reconstructor removes non-durable data -# files from a handoff node after reverting them to a primary. This gives the -# object-server a window in which to finish a concurrent PUT on a handoff and -# mark the data durable. -# nondurable_purge_delay = 60.0 [object-updater] # You can override the default log routing for this app here (don't use set!): |