Model
IndexerTableSwapper
Magento\CatalogRule\Model\Indexer\IndexerTableSwapper
What it does
This class manages temporary table creation and swapping for catalog rule indexing operations.
Developers use it to safely rebuild catalog rule indexes by working with temporary tables first, then atomically swapping them with production tables to minimize downtime.
It handles trigger preservation during the swap process and automatically cleans up temporary tables.
Public Methods
- getWorkingTableName()
- swapIndexTables()