Open aleksejsbaranovs10 opened 3 years ago
Hi @aleksejsbaranovs10. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
[Linked PR in magento2 project] -> https://github.com/magento/magento2/issues/31192
Issue description
Two indexers with mview configuration, subscribed to the same table but using different "entity_column" values override each other when creating triggers (enabling indexers to work on schedule mode).
For reproduction was used Magento core indexer "Catalog Search" and custom indexer. Both indexers subscribed to "catalog_product_super_link" table. "Catalog Search" indexer uses "entity_column" value "product_id". Custom indexer uses "entity_column" value "parent_id".
"catalogsearch_fulltext" mview subscription to "catalog_product_super_link" table changes:
Custom indexer mview subscription to "catalog_product_super_link" table changes:
Preconditions (*)
Steps to reproduce (*)
Create test indexer. Example:
Create mview configuration for test indexer with subscription on "catalog_product_super_link" and entity column "parent_id". Example:
Enable test indexer to work on schedule mode.
Enable "Catalog Search" indexer to work on schedule.
Validate "catalog_product_super_link" table triggers.
Actual result (*)
Expected result (*)
Additional Information (*)