diff options
author | Joseph Fernandes <josferna@redhat.com> | 2016-04-26 06:10:16 +0530 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2016-04-30 07:30:49 -0700 |
commit | 0d23f5207337fa54be57939eb8d70fe835d4658b (patch) | |
tree | a0db4ead5b70db9a5c718e0c9887796950e60110 /xlators/features/quiesce | |
parent | 0eb8e055b739112ac8b70073ef6e4e3f57c43e08 (diff) |
tier/migrator: Fetch the next query file for the next cycle
Problem: When we spawn promote and demote thread, query files
are build. And only query file with index 0 is picked for migration
as the first query file. This may not be suitable for scenarios,
where the file in the query are too big to move in the first cycle,
as a result file in the other query files always get missed. We need to
shuffle so that other query files also get a chance.
Fix: Remember the previous first query file and shift it by one index,
before the migration starts.
Change-Id: I704947bcf4bab6b20b1179a6d9ae4a15a3d51bd9
BUG: 1330353
Signed-off-by: Joseph Fernandes <josferna@redhat.com>
Reviewed-on: http://review.gluster.org/14068
Tested-by: Joseph Fernandes
Smoke: Gluster Build System <jenkins@build.gluster.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Tested-by: Dan Lambright <dlambrig@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/features/quiesce')
0 files changed, 0 insertions, 0 deletions