diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-09-28 01:19:33 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-09-28 01:19:33 +0000 |
commit | 9a09641a7cab25e712561d202f905465cb0590b1 (patch) | |
tree | b988a99828bdf0259e022e335c096f493781d985 /doc | |
parent | 9984a36f30b3b2f12dbd00295968d68f32ee1c6c (diff) | |
parent | 93fc9d2de86f37f62b1d6768600d0551e1b72fb6 (diff) | |
download | swift-9a09641a7cab25e712561d202f905465cb0590b1.tar.gz |
Merge "Add cautionary note re delay_reaping in account-server.conf-sample"
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manpages/account-server.conf.5 | 6 | ||||
-rw-r--r-- | doc/source/deployment_guide.rst | 10 |
2 files changed, 14 insertions, 2 deletions
diff --git a/doc/manpages/account-server.conf.5 b/doc/manpages/account-server.conf.5 index 3a06dbd76..018ea4f66 100644 --- a/doc/manpages/account-server.conf.5 +++ b/doc/manpages/account-server.conf.5 @@ -386,7 +386,11 @@ Connection timeout to external services. The default is 0.5 seconds. .IP \fBdelay_reaping\fR Normally, the reaper begins deleting account information for deleted accounts immediately; you can set this to delay its work however. The value is in -seconds. The default is 0. +seconds. The default is 0. The sum of this value and the +container-updater interval should be less than the account-replicator +reclaim_age. This ensures that once the account-reaper has deleted a +container there is sufficient time for the container-updater to report to the +account before the account DB is removed. .IP \fBreap_warn_after\fR If the account fails to be be reaped due to a persistent error, the account reaper will log a message such as: diff --git a/doc/source/deployment_guide.rst b/doc/source/deployment_guide.rst index cc43b1177..28df6cde0 100644 --- a/doc/source/deployment_guide.rst +++ b/doc/source/deployment_guide.rst @@ -1650,7 +1650,15 @@ delay_reaping 0 Normally, the reaper begins deleting account information for deleted accounts immediately; you can set this to delay its work however. The value is in seconds, - 2592000 = 30 days, for example. + 2592000 = 30 days, for example. The sum of + this value and the container-updater + ``interval`` should be less than the + account-replicator ``reclaim_age``. This + ensures that once the account-reaper has + deleted a container there is sufficient + time for the container-updater to report + to the account before the account DB is + removed. reap_warn_after 2892000 If the account fails to be be reaped due to a persistent error, the account reaper will log a message such as: |