Closed
Description
One of my dreams is for Magento to be able to:
- Perform the heavy lifting of indexes in the background in near-real-time by using a separate daemon of sorts that uses a pub/sub method (e.g. Redis) to wake up the indexer instantly.
- Clear the related cache tags only after the reindexing is complete. (otherwise the cache may be rewarmed before the reindexing is complete).
- Not have potential issues with process statuses. Currently I think it would be possible for the status to end up as "pending" even though new events were added while some events were being processed. That is, the status should not be changed to "pending" if new events were added in the meantime (e.g.: prevent update if updated_at time changed)