diff options
author | Dan Lambright <dlambrig@redhat.com> | 2015-06-23 16:35:03 -0400 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2015-06-26 17:10:56 -0700 |
commit | 875aa01ec80e56d85d0bc6028c6f1417f6ab140f (patch) | |
tree | e5d57c306ba51ec0596f83fbab82364274ecdd1d /xlators/features/upcall | |
parent | 26ef697318a7fec5ed82b000e3be4e30cfb16b50 (diff) |
cluster/tier: stop tier migration after graph switch
On a graph switch, a new xlator and private structures are
created. The tier migration daemon must stop using the
old xlator and private structures and begin using the
new ones. Otherwise, when RPCs arrive (such as counter
queries from glusterd), the new xlator will be consulted
but it will not have up to date information. The fix
detects a graph switch and exits the daemon in this
case. Typical graph switches for the tier case would
be turning off performance translators.
Change-Id: Ibfbd4720dc82ea179b77c81b8f534abced21e3c8
BUG: 1226005
Signed-off-by: Dan Lambright <dlambrig@redhat.com>
Reviewed-on: http://review.gluster.org/11372
Diffstat (limited to 'xlators/features/upcall')
0 files changed, 0 insertions, 0 deletions