inventory
inventory copied to clipboard
Inventory Cron jobs should be assigned to separate Cron Group
Preconditions (*)
- Magento 2.3.4
- MSI installed
Steps to reproduce (*)
- Run Cron Jobs
Expected result (*)
- Inventory Crons should be run in separate Group
Actual result (*)
- Inventory Cron jobs are run in the same Group that all Generic jobs.
@lbajsarowicz could you please clarify why Inventory cron jobs should be in a separate group?
- It's very common that there are multiple Jobs added to
<group id="default">, some of them cause failures or locks, and then some of the tasks are not being run. DevOps / SysOps experts run different Cron Groups separately to avoid such situations:cron:run --group=indexisolated fromcron:run --group=defaultetc. To sum up: It's more reliable to have a separate group for all Inventory-related tasks. - While running Functional Tests, I'd love to have the possibility of running only the tasks related to Inventory management, not all the cron jobs. I need to make sure that the Functional Test result is not a coincidence of other processes taking part in the
defaultcron group. So it is more testable to have them isolated.