Skip to content

Conversation

jpbalarini
Copy link

@jpbalarini jpbalarini commented Nov 15, 2018

I found that the partition id was always set to 0 when disabling the QUEUE_HOSTNAME_PARTITIONING setting, using a sqlalchemy backend. The problem was that the schedule method on the Queue component was always using the hostname as the partitioning key (independent of the QUEUE_HOSTNAME_PARTITIONING setting).

Also added a quick description of the QUEUE_HOSTNAME_PARTITIONING setting for the documentation (since it was missing).

Thanks!

@icapurro
Copy link
Contributor

Thanks for this fix @jpbalarini !

@jpbalarini
Copy link
Author

@sibiryakov what do you think?
Thanks!

@jpbalarini jpbalarini force-pushed the bug/fix_queue_partition branch from 7af4e1c to c36b645 Compare March 25, 2019 20:57
@jpbalarini
Copy link
Author

@sibiryakov what do you think of these changes? Adding them will fix the case when someone disables hostname partitioning (my case)

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