diff options
author | Joseph Fernandes <josferna@redhat.com> | 2015-06-06 10:28:51 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-06-11 09:45:58 -0700 |
commit | 46b3fde5437b293d9c0897fe167223b8f4f37c60 (patch) | |
tree | d3b106ee9ca60a60b4ee9699a6abd986d09254e7 /extras | |
parent | b1ff2294d2aaf7dd36918837c09a68152adc0637 (diff) |
tier/dht: Fixing non atomic promotion/demotion w.r.t to frequency period
This fixes the ping-pong issue i.e files getting demoted immediately
after promition, caused by off-sync promotion/demotion processes.
The solution is do promotion/demotion refering to the system time.
To have the fix working all the file serving nodes should have
thier system time synchronized with each other either manually or
using a NTP Server.
NOTE: The ping-pong issue can re-appear even with this fix, if the admin
have different promotion freq period and demotion freq period, but this
would be under the control of the admin.
Change-Id: I1b33a5881d0cac143662ddb48e5b7b653aeb1271
BUG: 1218717
Signed-off-by: Joseph Fernandes <josferna@redhat.com>
Reviewed-on: http://review.gluster.org/11110
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Tested-by: Dan Lambright <dlambrig@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions