Skip to content

[wip] discard celery related changes in the volumedriver update#2332

Closed
sjovdnbos wants to merge 1 commit into2.9.xfrom
revert_celery_volumedriverupdate
Closed

[wip] discard celery related changes in the volumedriver update#2332
sjovdnbos wants to merge 1 commit into2.9.xfrom
revert_celery_volumedriverupdate

Conversation

@sjovdnbos
Copy link
Contributor

Revert celery related changes that make the volumedriver update loop forever.

@sjovdnbos sjovdnbos changed the base branch from develop to 2.9.x August 1, 2019 15:01
balances_by_vpool = cls.get_vpool_balances_for_evacuating_storagerouter(cls.LOCAL_SR)
if initial_run_steps:
cls.logger.info('Offloading a MDS catchup to celery. This will ensure all slaves will be caught up to avoid deadlocking')
MDSServiceController.mds_catchup.apply_async()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has to be kept. We dont care about the result, it just runs in the background

"""
cls.logger.info("Starting MDS migrations")
while True:
hosted_vdisk_guids = storagerouter._vdisks_guids()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont use signatures here as it will lock up. Discarded tasks are still being waited for

The reason for the catchup (see comment above) is to ensure all slaves are caught up with their master

@sjovdnbos sjovdnbos closed this Aug 8, 2019
@sjovdnbos sjovdnbos deleted the revert_celery_volumedriverupdate branch August 8, 2019 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants