-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Message Queue Changes Tracking in setup:db:status Command
#39698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.4-develop
Are you sure you want to change the base?
Message Queue Changes Tracking in setup:db:status Command
#39698
Conversation
|
Hi @ajith107. Thank you for your contribution!
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
|
@magento run all tests |
|
I believe it's suboptimal to update this command with db unrelated stuff. As an alternative you can introduce new |
|
I like the idea behind this but there are 2, non insurmountable, flaws in its design. 1: The MysqlMQ model reads from topology not consumer when running through setup:upgrade so you could miss a queue or 2 (practically not an issue if no consumer really). You could update to using 2: Queues don't get deleted from the queue table, so once a queue is removed from the code base for any reason, the command would always come back as out of date. You could get by this by switching from a |
|
I made a quick module for anyone to use in the midterm if they wish to get the benefits of checking for new queues. And shows off how I tackled the 2 above points. https://github.com/furan917/Magento2-QueueConfigStatus Thank you @carlos-reynosa, I would not have seen this if you had not tagged it in your Deployer PR |
|
@magento run all tests |
engcom-Hotel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @ajith107,
Thank you for the collaboration!
I agree with @kandy's comment here #39698 (comment). Please do the needful and also fix the failed static tests.
Other failures seems flaky to me.
Thank you
Description (*)
setup:db:statuscommandRelated Pull Requests
Fixed Issues (if relevant)
setup:db:statuscheck #38225Manual testing scenarios (*)
queue_consumer.xmland verify thatsetup:db:statusreturningsetup:upgradeneeded messageQuestions or comments
Contribution checklist (*)